What is the difference between Java Bean and Java Class.?

Answers were Sorted based on User's Feedback



What is the difference between Java Bean and Java Class.?..

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

What is the difference between Java Bean and Java Class.?..

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

Post New Answer

More Core Java Interview Questions

What is pangram in java?

0 Answers  


What is passing value java?

0 Answers  


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.

0 Answers  


What does method mean?

0 Answers  


What is file class and what is its purpose?

1 Answers  






What is == in java?

0 Answers  


What is a generic data type?

0 Answers  


When should you make a function static?

0 Answers  


Explain about the select method with an example?

0 Answers  


What are the traverses in Binary Tree?

2 Answers   Adobe, Infosys,


What is the relationship between a method?s throws clause and the exceptions that can be thrown during the method?s execution?

2 Answers  


What is AppletStub?

1 Answers  


Categories