my dog learned polymorphism
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
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "1.4 objective confusinhg ?" Watch "1.4 objective confusinhg ?" New topic

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()

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Jeroen ,

thanks a lot .
Marcus Green
arch rival

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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: 1.4 objective confusinhg ?
It's not a secret anymore!