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
why not override thread to make a runnable? : Java thread
Why are constructors used?
What's the purpose of static methods and static variables?
What is object cloning in Java?
EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.
Explain about OOPS concepts and fundamentals.
Define jre i.e. Java runtime environment?
What is a ternary operator in java?
What is prime number in java?
Is set thread safe java?
Implement two stacks using a single array.
What is the difference between JVM and JRE?
What is meant by string is immutable?
Can we make constructors static?
What is a static method in java?