aspose file tools*
The moose likes Associate Certification (SCJA,OCAJ 5/6) and the fly likes UML question regarding abstract and interface classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Associate Certification (SCJA,OCAJ 5/6)
Bookmark "UML question regarding abstract and interface classes" Watch "UML question regarding abstract and interface classes" New topic
Author

UML question regarding abstract and interface classes

Uy Hoang
Greenhorn

Joined: Mar 28, 2012
Posts: 2
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

Joined: Sep 08, 2007
Posts: 3071
    
  33

A related query explains about the uml class notations


Mohamed Sanaulla | My Blog
Uy Hoang
Greenhorn

Joined: Mar 28, 2012
Posts: 2
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: UML question regarding abstract and interface classes