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 do you avoid global variables?

1083


How do you declare an array in java?

1051


When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?

1060


How to access arraylist elements in java?

987


What is the purpose of final keyword and when to use it?

997


Which is better 64 bit or 32 bit?

939


What is scope of a variable?

1091


Why isn’t there operator overloading?

1066


What is formatted output in java?

961


When super keyword is used?

1009


What is the difference between static and global variables and also define what are volatile variables?

1045


What is the method in java?

1094


What is sorting algorithm in java?

1070


Does constructor be static?

1031


how to run ecllipse with jettyserver for windows environment using batch file

2080