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
How to optimize the javac output?
What is the difference between conversation & casting?
Can a class have more than one object?
What is the use of singleton class?
How to make a class or a bean serializable?
What does java se mean?
Explain about instanceof operator in java?
What is a java applet? What is an interface?
worst case complexities of Quick sort and Merge sort.
What is the main functionality of the remote reference layer?
Is a char always 1 byte?
Explain about OOPS concepts and fundamentals.
What are abstract methods in java?
What is volatile data type?
Why hashcode is used in java?