What is the difference between Java Bean and Java Class.?
Answers were Sorted based on User's Feedback
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 |
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 |
What is return in java?
What is the use of keywords in java?
What is the difference between set and list?
What is lexicographically smallest string?
What is difference between arraylist and list in java?
How does hashset works in java?
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
Which is better singleton or static class?
tell me some common
How does sublist works in java?
How applets will communicate with each other?
What is runtime polymorphism or dynamic method dispatch?