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

Can an object be garbage collected while it is still reachable?

3 Answers  


Explain the different forms of polymorphism?

0 Answers  


How the metacharacters are different from the ordinary characters?

0 Answers  


How do you use final keywords and final variables in Java?

2 Answers  


What is the difference between the ">>" and " >>>" operators in java?

0 Answers  






What classes of exceptions, caught by a catch clause?

1 Answers  


Under what circumstances an object reference be cast to an interface reference?

3 Answers  


What is the difference between this() and super() in java?

0 Answers  


How is garbage collection controlled?

0 Answers  


what is thread? What are the high-level thread states? : Java thread

0 Answers  


How do you replace all in word?

0 Answers  


What is the same as procedures?

0 Answers  


Categories