Every field has setter and getter methods.what is
happening in this methods.
Answers were Sorted based on User's Feedback
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 |
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 |
What is japplet in java?
How to call main class with in main class?
What are the advantages in the use of spring for application development?
Is java part of oracle?
There are 2 classes . Class A and Class B. In Class A i declared a variable in private. if we can access this private variable in Class B. If yes means , how we can access ?
7 Answers HCL, Itx Centrics, Virtusa,
Why class is used in java?
What is business method?
I am newbie in J2EE & looking for strong basic behind each concept as, Why do we use private access specifier before each variable of type property bcoz ultimately to access it outside the class we use public method as getter & setter ? If we use getter & setter to access it outside the class so better we make variable as public so that it is easily available outside of the class... Please guide me why do we use as private ????
What is a plugin in java?
What are the main components of the j2ee application?
What are the components of j2ee applications?
What is connector?