What is the difference between Java Bean and Java Class.?

Answers were Sorted based on User's Feedback



What is the difference between Java Bean and Java Class.?..

Answer / shadow

Basically a Bean is a java class but it has getter and
setter method and it does not have any logic in it, it is
used for holding data.
On the other hand the Java class can have what a java bean
has and also has some logic inside it ....!

$HADOW

Is This Answer Correct ?    11 Yes 3 No

What is the difference between Java Bean and Java Class.?..

Answer / sravan chitikesi

yep,

Beans n classes are both are same,but the diff. is beans
are already predefined progs that v cant made chnges tothe
logic.
but classes are efforted by d user only....

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More Core Java Interview Questions

what is synchronization? : Java thread

1 Answers  


What is the difference between overriding and overloading in OOPS.

1 Answers   Axtria, ITC Indian Tobacco Company,


what is platform native code

2 Answers   i3 Solutions,


What is set string?

1 Answers  


what modifiers are used with top-level class?

2 Answers  


why java uses class level type casting ?

1 Answers  


Difference between Hash Table and Hash Map?

10 Answers   Persistent,


What are alternatives to java serialization?

1 Answers  


What is a condition in programming?

1 Answers  


What is object cloning in Java?

1 Answers   SwanSoft Technologies,


What is the difference between compare and compareto in java?

1 Answers  


What is unmodifiable collection in java?

1 Answers  


Categories