Can you inherit private members of a class?
Ask by Sumit Kesarwani
Updated 15 Sep 2020
No, you cannot inherit private members of a class because private members are accessible only to that class and not outside that class.