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
What is arraylist e?
What is the difference between char and char *?
What are the different approaches to implement a function to generate a random number?
Is null a string?
What is a protected method?
Is null == null in java?
Can a method inside a interface be declared as final?
What is the use of keywords in java?
Can we declare the static variables and methods in an abstract class?
Can a hashset contain duplicates java?
what is meant by encapsulation?
What is a short in java?
Can we declare array without size in java?
Explain the importance of throwable class and its methods?
What is a condition in programming?