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 happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?
Explain the difference between collection api and stream api in java8?
Can a static class have a constructor java?
What is class forname used for?
What 4 doubled?
What is the preferred size of a component in java programming?
What are the four pillars of java?
What are basic keywords?
Explain methods specific to list interface?
What does this () mean in java?
How many ways can you break a singleton class in java?
What is flag in java?
What is difference between synchronize and concurrent collection in java?
What is local class in java?
Is alive method in java?