Wats the diff between sealed class and private class in
inheritance
Answer Posted / guest
the diffenence between the TWO is that:
In private Class: We can create a constructor and therefore
we can create an instance of that class.
But
In Sealed class we can not create a constructor of that
class, so no instance of that class is possible.
Private Constructor of a Private Class = Sealed Class.
Is This Answer Correct ? | 4 Yes | 33 No |
Post New Answer View All Answers
Define sealed classes in c#?
how background thread access to ui control?
Is c and c# the same?
What is use of singleton class in c#?
What are the fundamental oop concepts?
Why do we use public static void main in c#?
Can we create multiple constructors?
What is the difference between abstract and virtual?
What is a trace and asset? Explain some differences?
Can I do things in il that I can't do in c#?
Explain circular reference in c#?
List out the differences between array and arraylist in c#?
Is stringbuilder thread safe c#?
What all details the assembly manifest will contain?
Is array a collection c#?