File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes a contradictory explanation about java beans standard 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 "a contradictory explanation about java beans standard" Watch "a contradictory explanation about java beans standard" New topic
Author

a contradictory explanation about java beans standard

ayush goel
Greenhorn

Joined: Sep 29, 2008
Posts: 5
i am studying from kathy sierra scjp book and in the first chapter,in 2 minute drill is written that javabeans standard dat use camelCase form require the use of set,get,is,add and remove but in the self test there is a quqestion regarding this and there add form is taken as incorrect
so i want to knoe dat whether add and remove are standard in javabeans or not
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Which self test question are you referring to ? Is it related to this ?


[My Blog]
All roads lead to JavaRanch
Rama Lakshmi
Greenhorn

Joined: Mar 31, 2006
Posts: 27
hi Christophe

Is it mandatory to ending with Listener when the method name starts with �add� as per java bean standers?

Regards
Rama
ayush goel
Greenhorn

Joined: Sep 29, 2008
Posts: 5
thanks i got it
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Is it mandatory to ending with Listener when the method name starts with �add� as per java bean standers?

No. I think the question is little bit too tricky.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: a contradictory explanation about java beans standard