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
What is finally block?
What lambda means?
Is main a keyword in java?
What is the use of flag?
What is the purpose class.forname method?
Explain public static void main(string args[]).
How do you sort in ascending order in java?
What is the this keyword?
What is tcp and udp?
What is void class in java?
What is an empty class? What functionality does it offer in Java?
What is type inference in java8?
Can a private method of a superclass be declared within a subclass?
What about member inner classes?
what are the methods in object?