If we inherit a class do the private variables also get
inherited ?
Answer Posted / kishore.a
Private variables are not inherited. Access specifier
Private is mainly mean for the inheritance concept so that
derived classes cannot inherit the private members of base
class..
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
What are delegates?
What is the object class in c#?
What does out mean in c#?
What is the difference between proc. Sent by val and by sub?
What is oledbconnection c#?
Can you store strings in arrays?
List down the fundamental oop concepts?
how to compare numbers and dispaly the largest ? *first thing I wanted to do is to input how many numbers to be compared *and then analyzed the largest then display it.
What is a c# delegate?
Can you explicitly call a destructor?
What do you mean by saying a "struct is a value type"?
What are the three types of predicates?
Explain the steps to create satellite assembly?
What is the relationship between a process, application domain, and application?
What language is arduino?