aspose file tools*
The moose likes Beginning Java and the fly likes java Beans    Vs    java objects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java Beans    Vs    java objects " Watch "java Beans    Vs    java objects " New topic
Author

java Beans Vs java objects

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1382
What is the differnce between java Beans and java objects ?
Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
JavaBeans possess the following properties...
-Private fields, which cannot be called by other classes
-Public Getters/Setters to get access to private fields of the JavaBeans
-Other Utility methods

But Java Objects is any instance of a Java class. Some may not possess the above properties of JavaBeans, while some may. In the other words, JavaBeans is a subset of Java objects...

Hope it helps...


Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java Beans Vs java objects