Click here to Skip to main content
16,021,765 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Java
public class VirtualBook {
private int VISBN;
private Page[] content;
public static int numberDistributed;

public Audio readPage() {}
public void bookmark(int pageNumber){}
}


What I have tried:

Method bodies are suppose to be omitted. And I'm a little confused.
Posted
Updated 21-Dec-22 12:52pm
v3

Maybe you can use this free and open-source tool that's aimed at Java developers: UML Designer[^]
 
Share this answer
 
Comments
Aisha Yosuf 22-Dec-22 7:59am    
Thank you!
Another easy and free tool is draw.io.
This url points to a class diagram example in draw.io.
This comes close to your topic

UML class diagrams in draw.io - draw.io[^]
 
Share this answer
 
Comments
Aisha Yosuf 22-Dec-22 7:59am    
Thank you so much! :)
peterkmx 22-Dec-22 16:24pm    
Thanks ... I am glad that I could help :-)
RickZeeland 22-Dec-22 8:07am    
I agree, draw.io is one of the best free online diagram tools.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900