1.

Which interface determines how your class will be used by another program?(a) public(b) private(c) protected(d) voidI got this question in exam.This interesting question is from Design of Class Hierarchies in chapter Derived Classes, Templates & Exception Handling in C++ of C++

Answer»

Correct choice is (a) public

For explanation: If we invoked the INTERFACE as public MEANS, We can ACCESS the program from other PROGRAMS also.



Discussion

No Comment Found

Related InterviewSolutions