Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Bean

 
suman deb
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the speiality of a bean?what is the diff. between a bean & a simple java class? why is it called bean
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15272
37
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at this:
Java Beans Tutorial

A Java bean is not a lot different from any other Java class. Java beans were originally invented as reusable user interface components, but they are often used for other things too.

Essentially a Java bean is just a Java class with some member variables and getter and setter methods for those member variables.
[ October 04, 2005: Message edited by: Jesper de Jong ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic