wood burning stoves*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes 1.4 objective confusinhg ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "1.4 objective confusinhg ?" Watch "1.4 objective confusinhg ?" New topic
Author

1.4 objective confusinhg ?

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
There is a line in 1.4 objective : use method name that adhere to the JavaBeans naming standards .

what it means ?

thanks .
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
the JavaBeans naming standard dictates that method names are in CamelCase starting with a lowercase letter.
It also dictates that getters and setters should be called SomeThing getXXX() and void setXXX(SomeThing x) with boolean isXXX() (instead of getXXX()) if the field is a boolean field.

Other method names should in principle be based on nouns, so doSomething() instead of something()


42
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Jeroen ,

thanks a lot .
Marcus Green
arch rival
Rancher

Joined: Sep 14, 1999
Posts: 2813
The objectives for the JDK 1.4 Sun certified Java programmers exam does not mention JavaBeans or the associated naming convention.


SCWCD: Online Course, 50,000+ words and 200+ questions
http://www.examulator.com/moodle/course/view.php?id=5&topic=all
 
Don't get me started about those stupid light bulbs.
 
subject: 1.4 objective confusinhg ?
 
Similar Threads
Java 1.4 Exam and File Streams
Are these questions expected in SCJP 1.4 exam
What is the different between SCJP 5.0 and SCJP 5.0 Upgrade?
Java 1.4 test notes
AWT & FILES ?