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 the difference between overriding and overloading in systemverilog?
What is var c#?
Explain About Global.asax
Define a jagged array in c#?
What are class fields?
Explain the difference between // comments, /* */ comments and /// comments?
Is it possible to inline assembly or il in c# code?
What is the advantage of generics in c#?
What is int16?
what are the contents of an assembly ?
What are value types and reference types?
What are the Uses of CLR
What is Covariance and contravariance in C#?
Explain publishers and subscribers in events.
What is the difference between null and string empty in c#?