Can we create nested classes in C++ True or false?

Explanation: The nested class can be declared with any specifier , unlike the outer classes which can only be declared public or package private. This is flexibility given for the nested class being a member of enclosing class.

Sizin İçin Seçtik  Can C++ be used in Windows?

Leave a Reply

Your email address will not be published. Required fields are marked *