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 to write custom exception in java?
What is the purpose of garbage collection in java, and when is it used?
What are the characteristics of Final,Finally and Finalize keywords.
Why do we need hashset in java?
What are the fileinputstream and fileoutputstream?
Difference between ‘is-a’ and ‘has-a’ relationship in java?
Can we sort hashset in java?
What is generic type?
What is default switch case? Give example.
What are memory tables?
How many days will it take to learn java?
Can variables be used in java without initialization?
Can string be considered as a keyword?
What is a copy constructor in java?
What is += mean in java?