Can we inherit a private class in chsarp? how? explain(with
code) ?
Answer Posted / hassan-ak
WHERE IS THE INHERITANCE IN THIS CODE, WE KNOW THAT INNER
CLASSES CAN BE DECLARED PRIVATE BUT THE QUESTION IS: CAN IT
BE INHERITED, SINCE A PRIVATE FEILD IS NOT ACCESSED BY SUB
CLASS SO HOW IF THE WHOLE CLASS IS PRIVATE?
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to declares a two-dimensional array in C#?
How many constructors can a class have c#?
How many destructors can a class have?
How do you set a class path?
What is the difference between array and arraylist c#?
What is a web service in c#?
What are the 2 kinds of data type conversions in c#?
What is for loop in c#?
What is difference between abstraction and encapsulation in c#?
Can int be null c#?
Why do we use reflection in c#?
What is native image generator (ngen.exe)?
Why is it not a good idea to use empty destructors?
What is data binding c#?
Give some examples of commonly used i/o classes?