1.

Define methods of a class and write its types.

Answer»

Class comprises of members. Member functions are called as methods.

The member functions of a class can be defined in two ways.

1. Inside the class definition

2. Outside the class definition



Discussion

No Comment Found