what is an object?
The two key principal concepts in OOP are the objects and the classes. The basic important idea behind these different but new languages is to make together the entire units containing the data and the functions that are operated on the different programs. Each of these units is known as the object.
In the beginning of our discussion,I would like to say some words about object, what is an object?
object is combination of message and data.Objects can receive and send messages and use messages to interact with each other. The messages contain information that is to be passed to the recipient object.
OOP is a method of programming in which programs are organised as cooperative collections of objects. Each object is an instance of a class and each class belong to a hierarchy.The two key principal concepts in OOP are the objects and the classes. The basic important idea behind these different but new languages is to make together the entire units containing the data and the functions that are operated on the different programs. Each of these units is known as the object.
No comments:
Post a Comment