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
What is concrete class in c# with example?
Explain the difference between Metadata and Manifest
Difference between Value type & reference types ? and give the example in .Net?
Why we use methods in c#?
Are string objects mutable or immutable?
What is a di class?
How many kinds of elements an array can have?
Which is the best language for desktop application?
How do you achieve polymorphism in c#?
Does constructor return any value in c#?
Why singleton class is sealed?
Explain About friend and Protected friend
Is var a data type?
What is appdomain in c#?
What are predicates in c#?