File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes lines of code / number of classes 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 "lines of code / number of classes" Watch "lines of code / number of classes" New topic

lines of code / number of classes

mike acre
Ranch Hand

Joined: Sep 23, 2003
Posts: 197
In the brief certification description there is mention of 3500 lines of code being the average for sucessful assignments.

My question is what constitutes a line of code?

just a brace?
blank lines?

how many here for example:


personally I'd say 1.

On a related point what constitutes a class for similar code stats quoting purposes?

source files only?
all nested classes?
all top level classes?

Thirdly, how many lines and classes (& define these please) have you produced / are likely to produce for your submission?


Robert Konigsberg
Ranch Hand

Joined: Jun 23, 2004
Posts: 172
I do not believe that comments are considered lines of code. braces and blank lines should be.

What seems more important, why are you so concerned? How's your project coming along?

SCJP 1.4 (91%)<br />SCJD 1.4 (376/400, 94%)
I agree. Here's the link:
subject: lines of code / number of classes
jQuery in Action, 3rd edition