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 the Scope of Static Variable?

0 Answers   Verifone,


Can we return null in java?

0 Answers  


What is a percentage sign called?

0 Answers  


What does three dots mean in java?

0 Answers  


What is a java object and java application?

0 Answers  






How to create com object in Java?

0 Answers  


How do you override a method?

0 Answers  


Can an object?s finalize() method be invoked while it is reachable?

2 Answers  


What is the differences between c++ and java? Explain

0 Answers  


What is HashTable?

4 Answers  


What is update method and when it is called?

2 Answers   TCS,


Explain about map interface in java?

0 Answers  


Categories