what is java bean?where can we use it?

Answer Posted / ravi kumar gupta

JavaBeans are reusable software components for Java.
Practically, they are classes written in the Java
programming language conforming to a particular convention.
They are used to encapsulate many objects into a single
object (the bean), so that they can be passed around as a
single bean object instead of as multiple individual
objects. A JavaBean is a Java Object that is serializable,
has a nullary constructor, and allows access to properties
using getter and setter methods.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how come we know the object is no more used in the class?

5948


What is meant by stack and queue?

771


What about features of local inner class?

825


Differentiate between stringbuffer and string?

788


What is lastindexof in java?

746


What are static methods?

789


What is the meaning of flag day?

733


If goto and const is reserve words than why it is not work in java?

1738


How many boolean functions are there?

711


Are primitives objects?

771


Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls

1655


Does java support function overloading, pointers, structures, unions or linked lists?

803


What is variable and its types?

757


What are the advantages of inner classes?

715


What is a data structure java?

725