Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

a contradictory explanation about java beans standard

 
ayush goel
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which self test question are you referring to ? Is it related to this ?
 
Rama Lakshmi
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks i got it
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic