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

Write a method that will remove given character from the string?

573


What is finalize() function in java?

563


What is the purpose of static keyword in java?

517


How to avoid memory leak in java?

596


What is externalizable?

617






What is the new line character?

558


Can java hashmap have duplicate keys?

511


There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?

999


What are advantages of exception handling in java?

586


What is the use of static class?

545


Is object a data type in java?

589


Can we overload final method in java?

552


How can we make a class virtual?

642


what is the difference between yielding and sleeping? : Java thread

525


is it possible to instantiate the math class?

531