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

when i m calling java for web browser . so browser it's not support. show error in browser: internal error occur. java.lang.NoClassDefFoundError. will you give me solution why it's not starting browser.? is there any consult with .net framework2.0?

0 Answers  


explain the technologies that j2ee platform provides for developing components.

0 Answers  


Please explain about internal casting and external casting in java..?

0 Answers  


What is single tier architecture in java?

0 Answers  


I Want build and release interview questions

0 Answers  






Is java gui dead?

0 Answers  


Define orm and its working in j2ee?

0 Answers  


Why awt is used in java?

0 Answers  


What is jta and jts?

0 Answers  


What is java api for xml-based rpc (jax-rpc)?

0 Answers  


What is component-managed sign-on ?

0 Answers  


Is java still slow?

0 Answers  


Categories