Computer Science, asked by tasmiya, 1 year ago

What is an object?
What is a class and member function?

Answers

Answered by kvnmurty
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.


kvnmurty: click on thanks button above pls;;;select best answer
appleida: I want be like you,how did you do it,how many years are you doing answering.please share with me.
appleida: Have you in FACEBOOK.
kvnmurty: yes
appleida: What is your name.
Similar questions