If we inherit a class do the private variables also get
inherited ?
Answer Posted / ganni
yes they are inherited, but cannot be accessible. for
that we need to use properties concept.
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
Why do we use namespace in c#?
What is alias in c#?
What are the classes contained in a single .NET DLL ?
Explain the accessibility modifier protected internal?
Why do we need nullable types in c#?
What is the difference between delegates and superdelegates?
Are multiple data types stored in System.Array?
what is the index value of the first element in an array?
What is the difference between ref and out in c#?
Is versioning applicable to private assemblies?
Why abstract class can not be instantiated?
Which framework is best for desktop application?
How many types of polymorphism are there?
Is class reference type c#?
What is delimiter in c#?