wood burning stoves 2.0*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: http://aspose.com/file-tools
subject: lines of code / number of classes
Similar Threads
HELP with Project!
Javac-includesfile problem.
Hard time learning Servlets
Ant script pathelement tag
lines of code / number of classes