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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What carriage return means?

703


Is null keyword in java?

709


How are this() and super() used with constructors in java programming?

746


What is the difference between state-based unit testing and interaction-based unit testing?

695


What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?

903


State one difference between a template class and class template.

822


What are JVM.JRE, J2EE, JNI?

867


What is java english?

670


What is a control variable example?

729


What is thread safe java?

681


What do you mean by singleton class in java?

673


Can you override a final method?

775


Explain about collection interface in java?

751


What is the point of polymorphism java?

728


What is locale?

788