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 reverse a string in java?
Explain method local inner classes ?
What is sortedmap interface?
What is the epoch date?
Can we have any code between try and finally blocks?
Is java owned by oracle?
Can inner class extend any class?
What are the two categories of data types in the java programming language?
What are the high-level thread states in java programming?
Is string is a keyword in java?
What is n in java?
What are parsing rules?
Which is faster call by value or call by reference?
Can we declare the main method of our class as private?
What is static block?