Answer Posted / vineen
Java bean is simply a java class which has getter and
setter methods.
setter methods are used to set the data.
getter methods are used to to get the data.
Java beans are used to encapsulate objects in a single java
bean so that the bean can be used or passed in other
classes.
Like in our jsp we can use this bean by using <%jspusebean>
tag.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Explain the use of javap tool.
What do you mean Abstraction in java?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
what is difference between equals and ==?
Why java uses the concept of the string literal?
Is there any case when finally will not be executed?
Is java util regex pattern thread safe?
What is difference between public static and void?
Under what conditions is an object’s finalize() method invoked by the garbage collector?
What is a function in java?
Explain the differences between abstraction and encapsulation?
What is an empirical question?
What an i/o filter?
What is variable and example?
Difference between arraylist and vector.