Saturday, October 28, 2017

Objects

OBJECT: 
o     Objects are basic runtime entity in object oriented system. 
o      Objects may be a pen, a person, a table etc.
o      Objects may define user define data types like time, vectors etc.
o      Programming problems analyzed in terms of objects.
o      Object should be chosen such that they match closely with real world objects.
o      Objects required memory space for storage just like structure of ‘C’ language.
o      One object can send message to another objects.
o      For example student and record are two objects and student object may send request to record object for marks, then record object send marks for particular student.
o      Object can interact with each other without having knowledge about data and code of each other’s.
o      Following are ways to represents an object.

No comments:

Post a Comment