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 do you avoid global variables?
How do you declare an array in java?
When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?
How to access arraylist elements in java?
What is the purpose of final keyword and when to use it?
Which is better 64 bit or 32 bit?
What is scope of a variable?
Why isn’t there operator overloading?
What is formatted output in java?
When super keyword is used?
What is the difference between static and global variables and also define what are volatile variables?
What is the method in java?
What is sorting algorithm in java?
Does constructor be static?
how to run ecllipse with jettyserver for windows environment using batch file