Can we make class inside class in C++?

Nested Classes in C++ A nested class is a class which is declared in another enclosing class . A nested class is a member and as such has the same access rights as any other member. The members of an enclosing class have no special access to members of a nested class; the usual access rules shall be obeyed.4 Oca 2019

Sizin İçin Seçtik  What is inner class and outer class?

Leave a Reply

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