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
What is an infinite loop in java? Explain with an example.
when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???
What is the purpose of main function in java?
Is null a value?
When super keyword is used?
What is the purpose of garbage collection in java? When is it used?
What is an i/o filter?
How do you use spaces in java?
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
Write a program to print 15 random numbers using foreach of java 8?
What type of variable is gender?
What methods are used to get and set the text label displayed by a button object?
What is the difference between array and array list in java?
What is return used for in java?
What is java and why do we need it? Explain