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
Explain About namespaces
What does mean before a string in c#?
What is reference c#?
Explain what is the smallest unit of execution in .net?
What is the difference while using directive vs using statement ?
What's the difference between abstraction and encapsulation?
Overloaded constructor will call default constructor internally?
I want to print "Hello" even before main() is executed. How will you achieve that?
Enlist some of the properties of a thread class?
What are value types and reference types?
Give an example of removing an element from the queue?
Can we inherit a private class in c#?
What is a jagged array?
What is the use of readkey in c#?
What is default constructor c#?