What is an object?
What is a class and member function?
Answers
Answered by
1
A class is a definition of the properties (storage variables for holding data) and the functions to process the data. The class embodies the data we want to store, retrieve, process and the functions and procedures which will do the relevant processing.
An object is the body/data entity that is instantiated copy of the class structure. It is created in memory and then creator methods are executed immediately to initialize the object in memory. The object is protected by the OOPS concepts.
Member functions are the functions/procedures/methods that are declared within a class. These can access the properties of the object. Member functions are inherited over to subclasses.
An object is the body/data entity that is instantiated copy of the class structure. It is created in memory and then creator methods are executed immediately to initialize the object in memory. The object is protected by the OOPS concepts.
Member functions are the functions/procedures/methods that are declared within a class. These can access the properties of the object. Member functions are inherited over to subclasses.
kvnmurty:
click on thanks button above pls;;;select best answer
Similar questions
Physics,
8 months ago
Hindi,
8 months ago
Social Sciences,
8 months ago
Math,
1 year ago
History,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago
History,
1 year ago