Answer Posted / marshallsudhan
Before get into the answer, we gotta know something
prior...! "JavaBeans".
JavaBeans are java classes that have properties. For our
purpose, think of properties as private instance variables.
since they're private, the only way they can be accessed
from outside of their class is through 'methods'in the
class.
The methods that change a propertiy's value are called
setter methods, and the methods that retrieve a property's
value are called getter methods.
Is This Answer Correct ? | 54 Yes | 8 No |
Post New Answer View All Answers
Can we call the constructor of a class more than once for an object?
Why is string builder not thread safe?
What is the purpose of return statement?
What is appletviewer?
What is a protected void?
What is console based application in java?
What is linked hashset and its features?
Can we use switch statement with strings?
What is the difference between static and non-static variables in java programming?
What is an exception? difference between Checked and Unchecked exception in Java
What are assembly attributes?
What is final variable?
How can you share data between two thread in Java?
Why strings in java are called as immutable?
What do you mean by Hash Map and Hash Table?