File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

state of an object

 
itisha jain
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do we mean when we say the state of an object?Can somebody explain with an example.
 
Sandeep Chhabra
Ranch Hand
Posts: 340
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
If I am not wrong, the current values of all the member variables of a class together are referred as the state of the object.
Correct me if i am wrong.
[ October 05, 2005: Message edited by: Sandeep Chhabra ]
 
Ritu Kapoor
Ranch Hand
Posts: 102
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Itisha,

Remember:
1. Member variables of an object represents the state of an object. while
2. Methods of an object represents the behaviour.

Rgds,
-Ritu
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic