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 the requirement of thread in java?
Explain your academic project?
2 Answers Accenture, Levonsys, SDF, TCS, Tech Mahindra,
Why is it called a string?
What is the default size of load factor in hashing based collection?
How to make a class immutable?
Is java pass by value or pass by reference?
In Inheritence concept, i have a static method in super class and i am inheriting that class to one sub class.in that case the static method is inherited to sub class or not????
What is immutable data?
What exceptions occur during serialization?
When should I use stringbuffer?
what is the difference between the methods sleep() and wait()? : Java thread
What is the use of math abs in java?