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
What is data binding c#?
What is the size of a decimal?
What is difference between ilist and list in c#?
Define constructors
How long does a loop recorder procedure take?
State two different types of access modifiers.
Does hashset allow duplicates c#?
Explain clr in brief.
Which is faster list or dictionary in c#?
What is func c#?
What is scaffolding in c#?
What are circular references? How garbage collection deals with circular references.
What is method in c#?
Why we use extension method in c#?
How to get the sum of last 3 items in a list using lambda expressions?