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
Can we force the garbage collection to run?
What is singleton class and how can we make a class singleton?
What is nullpointerexception?
What is natural ordering in java?
What is collection api?
What is a flag variable?
What is the difference between public, private, protected, and friend access?
Write a program to calculate factorial in java?
Why doesn't the java library use a randomized version of quicksort?
String class is defined under which package in java?
Can you write a java class that could be used both as an applet as well as an application?
Why java is secure? Explain.
Can we use catch statement for checked exceptions?
What are the 4 types of research methods?
What are the characteristics of Final,Finally and Finalize keywords.