1.

What is the term used to indicate the variable and constants of a class?(a) Data members(b) Variables of class(c) Data characters(d) Constants

Answer» Right answer is (a) Data members

The best explanation: The variables inside a class are termed data members of the class. It is not a mandatory rule but variables are used to refer to usual variables used in functions or globally. The term is given because the values stored in those variables represent some kind of data related to class.


Discussion

No Comment Found

Related InterviewSolutions