InterviewSolution
Saved Bookmarks
| 1. |
Which call is correct for public members of a nested class?(a) Can be called from object of enclosing class(b) Can be called within enclosing class only with direct names(c) Direct names should be used for the nested classes(d) Only with help of nested class object pointerThis question was addressed to me during an interview.This interesting question is from Public Member Functions topic in chapter Member Functions & its Types of Object Oriented Programming |
|
Answer» Correct answer is (a) Can be called from object of enclosing CLASS |
|