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 |
Is there is any difference between a scrollbar and a scrollpane?
How do you download stubs from Remote place?
Distinguish between a predicate and a function?
Where the CardLayout is used?
what is bytecode ?explain in detail and watz the difference between bytecode and machine code?
What does file separator do in java?
what is difference between Interface and abstract class
as we know a static method could access static data and static method only. then how could main method call the object of aclass which is not static and other non static data
what is difference between Action messages and Action errors?
How many characters is 16 bytes?
Can I import same package/class twice?
Why is stringbuffer called mutable?