Answer Posted / namita
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 ? | 82 Yes | 15 No |
Post New Answer View All Answers
Is void a keyword in java?
Does chrome use java?
What about interrupt() method of thread class ?
Do extraneous variables affect validity?
Explain importance of throws keyword in java?
What are passing parameters?
What is meant by the value of a variable?
Why is it called a string?
What is the difference between menuitem and checkboxmenu item?
What is meant by data hiding/encapsulation?
What is the differences between heap and stack memory in java? Explain
How can we make a class singleton?
What is the difference between the final method and abstract method?
What is a lock or purpose of locks in java?
What is io stream in java?