1.

Simple member functions are ______________________(a) Ones defined simply without any type(b) Ones defined with keyword simple(c) Ones that are implicitly provided(d) Ones which are defined in all the classesI got this question in unit test.I would like to ask this question from Types of Member Functions in division Member Functions & its Types of Object Oriented Programming

Answer»

Right option is (a) Ones defined simply without any type

Best explanation: When there is no type defined for any FUNCTION and just a SIMPLE syntax is USED with the return type, function name and parameter LIST then those are known as simple member functions. This is a general DEFINITION of simple members.



Discussion

No Comment Found

Related InterviewSolutions