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

Is java still slow?

0 Answers  


What is the use of method save()?

0 Answers  


What is sandbox in java?

0 Answers  


What is application assembler?

0 Answers  


Hi friends can you give me sample code for Entire j2ee web application with struts and hibernate.I mean code for Dao, DaoImpl, HibernateDao ,HibernateDaoImpl, Dto , service , ServiceImpl , i.e.

1 Answers  






What is form-based authentication?

0 Answers  


What does the application client module contain?

0 Answers  


What is j2ee application model?

0 Answers  


What is javaserver pages standard tag library (jstl)?

0 Answers  


what is the difference between application server and web server?

5 Answers   Cegonsoft, IBM,


What does resource adapt module contain?

0 Answers  


Explain about J2EE Application Architecture

1 Answers  


Categories