What is difference in between Java Class and Bean

Showing Answers 1 - 1 of 1 Answers

MSachin

  • Aug 12th, 2005
 

A Bean is a java class.Beans are used for GUI purposes while the general java classes are used to perform operations behind the GUI. All the attributes or properties of a Java Bean has to have a getter/setter method which is a requirement.Also a bean should have a default constructor which is not mandatory for a general java class.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions