Every field has setter and getter methods.what is
happening in this methods.

Answers were Sorted based on User's Feedback



Every field has setter and getter methods.what is happening in this methods...

Answer / subhranghshu bhattacharjee

In java bean setter method set the value(or initialize
field)to field.
getter metod retrive the value from java bean.

Is This Answer Correct ?    2 Yes 0 No

Every field has setter and getter methods.what is happening in this methods...

Answer / sk.bilal ahmed

The method to be used is specified at construction time.
For backward compatibility, if no method is specified, the
method setValue is used. In this way, protocols
implementing the SingleValue interface can be manipulated
using the old configuration syntax:-
Setter(java.lang.String prefix, java.lang.String protocol,
java.lang.String methodn)

The method to be used is specified at construction time.
For backward compatibility, if no method is specified, the
method getValue is used. In this way, protocols
implementing the SingleValue interface can be manipulated
using the old configuration syntax
Getter(java.lang.String prefix, java.lang.String protocol,
java.lang.String methodn)

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More J2EE Interview Questions

Hi friends, can u explain Transparent Persistence in hibernate with sample code.

2 Answers  


Which edition of java is used for developing web application?

0 Answers  


What do you understand by j2ee?

0 Answers  


What is java transaction api (jta)?

0 Answers  


What is the best java course?

0 Answers  






What is java full stack developer?

0 Answers  


What is java j2ee developer?

0 Answers  


What is the container?

0 Answers  


What is archiving?

0 Answers  


What is java used for in technology?

0 Answers  


Diffrence between arraylist and hashmap

3 Answers   Oracle,


Why java is a platform?

0 Answers  


Categories