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
How is hashset defined in java?
How to display names of all components in a Container?
Write a program to find maximum and minimum number in array?
What does the “static” keyword mean? Can you override private or static method in java?
Can a class be declared as protected?
Is integer passed by reference in java?
when to use ArrayList and when to use HashMap in webApplication.
Is there any case when finally will not be executed?
Can java hashmap have duplicate keys?
what is encapsulation in java? Explain
What is split return?
What carriage return means?
What is boolean flag in java?
Is .net better than java?
What are different types of multitasking?