File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UML question regarding abstract and interface classes

 
Uy Hoang
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In UML, I know that class names must be in bold but I'm a little fuzzy about abstract and interface classes. I know that abstract classes must be in italics, but do they need to be in bold too? And for interfaces I know that they need to be preceded by <<interface>>, but they do they need to be in bold and/or italics?

Thanks,
Uy
 
Mohamed Sanaulla
Saloon Keeper
Pie
Posts: 3159
33
Google App Engine Java Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A related query explains about the uml class notations
 
Uy Hoang
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I should have specified my question as to pertaining to the OCAJ test. So for example, how would I answer the following questions if they showed up on the test:

Q1) In an abstract class diagram, the name of the class is:

a) in italics
b) in bold
c) both a and b
d) none of the above


Q2) In an interface class diagram, the name of the class is:

a) in italics
b) in bold
c) both a and b
d) none of the above

BTW, I followed the link that Mohamed gave. One post shows the interface name in italics and another does not.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic