What is a Class?

Class is a grouping of the objects which are similar to each other. We can create any number of objects of a class. Class consists of data and functions. Data of a class is known as Member Data and functions of a class are known as Member functions. No memory space is allocated to a Class.

For eg: Vehicle is an example of class which has scooter, car, bicycle etc as its objects.

More Questions

Leave a Reply

Word Verfication * Time limit is exhausted. Please reload CAPTCHA.