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 are inbuilt functions?

0 Answers  


How many bits is a 64 bit byte?

0 Answers  


What state does a thread enter when it terminates its processing in java programming?

0 Answers  


Can we call a non-static method from inside a static method?

0 Answers  


how to accept integer array in java

2 Answers   Tech Guru,


How will you load a specific locale?

0 Answers  


What do you mean by composition in java?

0 Answers  


Is array size fixed in java?

0 Answers  


How do you create an array in java?

0 Answers  


What are the advantages of exception handling?

0 Answers  


What are the important features of Java 8 release?

0 Answers  


What is assembly condition codes?

0 Answers  


Categories