Wats the diff between sealed class and private class in
inheritance
Answer Posted / satyam
when a class defined as sealed its not possible to inherit
its class and properties to the inherited class.Its also
applicable to the class properties.Even class defined as
public its banned to inherit the class.
Is This Answer Correct ? | 7 Yes | 17 No |
Post New Answer View All Answers
What is the difference between a variable and a literal?
What's different between c# and c/c++?
What do you mean by generic class in c#?
What are custom attributes in c#?
Explain jagged arrays in c#?
Can you access a hidden base class method in the derived class?
What is arraylist c#?
Give an example of a directcast.
What is the execution entry point for a c# console application?
What is difference between arraylist and list in c#?
User's session is explicitly killed by which method ?
What is difference between ienumerable and iqueryable in c#?
What is difference between for and foreach in c#?
What is the difference between throw and throw ex?
What is a float?