Home > DeveloperSection > Interviews > Can you inherit private members of a class?

Posted on    August-27-2014 11:47 PM

 C# C# 
 1 Answer(s)
  1040  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Posted on    August-27-2014 12:00 AM

No, you cannot inherit private members of a class because private members are accessible only to that class and not outside that class.

Don't want to miss updates? Please click the below button!

Follow MindStick