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 / 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


Please Help Members By Posting Answers For Below Questions

Explain the use of javap tool.

1185


What do you mean Abstraction in java?

1124


I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?

1225


what is difference between equals and ==?

1122


Why java uses the concept of the string literal?

1108


Is there any case when finally will not be executed?

1002


Is java util regex pattern thread safe?

1081


What is difference between public static and void?

1075


Under what conditions is an object’s finalize() method invoked by the garbage collector?

1105


What is a function in java?

1081


Explain the differences between abstraction and encapsulation?

1105


What is an empirical question?

1025


What an i/o filter?

1086


What is variable and example?

1023


Difference between arraylist and vector.

1180