Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is java bean?where can we use it?

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


Please Help Members By Posting Answers For Below Questions

How is hashset defined in java?

976


How to display names of all components in a Container?

2896


Write a program to find maximum and minimum number in array?

948


What does the “static” keyword mean? Can you override private or static method in java?

1047


Can a class be declared as protected?

963


Is integer passed by reference in java?

982


when to use ArrayList and when to use HashMap in webApplication.

4607


Is there any case when finally will not be executed?

913


Can java hashmap have duplicate keys?

970


what is encapsulation in java? Explain

1058


What is split return?

940


What carriage return means?

920


What is boolean flag in java?

1042


Is .net better than java?

971


What are different types of multitasking?

917