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 pangram in java?
What is passing value java?
we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.
What does method mean?
What is file class and what is its purpose?
What is == in java?
What is a generic data type?
When should you make a function static?
Explain about the select method with an example?
What are the traverses in Binary Tree?
What is the relationship between a method?s throws clause and the exceptions that can be thrown during the method?s execution?
What is AppletStub?