What is an Object ?
Posted by Raj
Object in Object oriented programming
object is an instance of a class.An object is an entity that has attributes, behavior, and identity. Objects are members of a class.Objects are accessed, created or deleted during program run-time.
Declaration of an Object in OOPs
ClassName objectName=new ClassName();
Example:
Behavior in OOPS: Every object has behavior.
Identity in OOPS: Each time an object is created the object identity is been defined.
This entry was posted on October 4, 2009 at 12:14 pm, and is filed under
com object,
object,
Object in OOP,
object oriented,
object oriented programing,
objective,
oop,
PHP,
Question,
what is an object
.You can leave a response, or trackback from your own site.