File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
Programmer Certification (SCJP/OCPJP)
JavaBean method names
Joined: Aug 23, 2009
Feb 20, 2010 21:50:52
On page 68, under the "Two Minute Drill" section, Objective 1.3, it states:
"JavaBeans must be named using camelCase, and depending on the methods proposed, must start with set, get, is, add, or remove."
Then, on the same chapter's Self
Answers, page 79, question 2 asks:
"Which method names follow the JavaBeans standard?
You state that "A is incorrect because 'add' can be used only with Listener methods."
Joined: Aug 31, 2007
Feb 20, 2010 22:38:53
You may get help from here. See
SCJP 5.0 -
Java Beginners FAQ
SCJP Mock Tests
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: JavaBean method names
Java Beans Question
K&B Chapter 1 Question 5
Ambiguity in Kathy Sierra Question
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015