Class be declared/defined inside another class - C++ basic concepts

Q.  Can a class be declared/defined inside another class ?
- Published on 19 Oct 15

a. Yes
b. No

ANSWER: Yes
 

    Discussion

  • Brijesh   -Posted on 08 Oct 15
    You can declare class inside another class that is called as nested class.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)