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 |
How to avoid memory leak in java?
what is prepare statement? what is calabedtarement?
Can You Have Virtual Functions In Java?
Why singleton is not thread safe?
What is multi level inheritance in java?
How are the elements of a gridbaglayout organized in java programming?
What are the Static and Dynamic Variables? Differentiate them.
class A{ class B{ } } in which name u save the file,its the program compile?
What are field variable and local variable?
Is a class an object?
What is field name?
Addition to previous section relative word 5th one was Putrid ans: rotten, also there was prob. in 1st section on bucket weight ans:10kg, also there was a prob. on train speed to find bridge length ans:800 mtrs.