This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Modifications in the interface source Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Modifications in the interface source" Watch "Modifications in the interface source" New topic
Author

Modifications in the interface source

David Nemeskey
Ranch Hand

Joined: Nov 08, 2006
Posts: 52
Hi,

I have just downloaded my SCJD assignment. It contains a DB.java interface, which I have to implement. I is provided in the following form:



My question is: can I make changes in this code? More specifically, I do not like that the descriptions are in // comments (not even in multiline comment format). Can I change it to javadoc (/** */) without automatic failure? Or do they compare it with the one in my assignment?

(Making a Javadoc documentation is a must anyway, so I think it should be okay... just to make sure...)
Tom Bigbee
Greenhorn

Joined: Sep 16, 2002
Posts: 19
You can change it as long as you don't modify the method signatures, I changed the comments and header information during the javadoc phase of the assignment and I did not get pinged, I think you are supposed to, since you are required to document all source files


Thomas Bigbee - SCJP, SCJD, SCWCD
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Modifications in the interface source