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
Can you add null to a list java?
What is serial version uid and its importance in java?
What is reflexive association?
What is math in java?
Can we pass a primitive type by reference in java? How
What is the purpose of a transient variable?
What is the final method?
What is toarray method in java?
Define locale.
Explain the access modifiers for a class, method and variables?
When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?
What is final access modifier in java?
What does file separator do in java?
What are constructors in java?
Is ++ operator is thread safe in java?