File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes general questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "general questions" Watch "general questions" New topic
Author

general questions

Nate Johnson
Ranch Hand

Joined: May 13, 2002
Posts: 301
I have a few general questions about the assignent.
1) Should we javadoc any of our main methods or inner classes? (really a general java question)
2) Should the lines of code be kept under 80 characters for readability? My screen can see up to about 300 characters and it looks pretty funny to me, but some places like it kept to 80.
3) The instructions say not to modify the db.db file. So, when a user books a flight, are we not supposed to modify the file? This seems pretty messed up to me. I could see using a cache for local access, but not easily for multiple remote objects.
Thanks,


scwcd, scjd, scjp<br /><a href="http://natejohnson.us" target="_blank" rel="nofollow">http://natejohnson.us</a><br /><a href="http://rice.kuali.org" target="_blank" rel="nofollow">http://rice.kuali.org</a>
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937

1) Should we javadoc any of our main methods or inner classes? (really a general java question)
Why not? You will certainly not be penalized for doing so.
2) Should the lines of code be kept under 80 characters for readability?
I saw it somewhere in Sun's guidelines that the lines should be under 80 chars.

3) The instructions say not to modify the db.db file. So, when a user books a flight, are we not supposed to modify the file? This seems pretty messed up to me. I could see using a cache for local access, but not easily for multiple remote objects.

All it means that you should make a copy of db.db and work with it (yes, modify it directly, no cache). They are just asking you to submit the original db.db file with your submission.
Eugene.
 
Don't get me started about those stupid light bulbs.
 
subject: general questions