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 gac? How to put assembly in gac?
What is distribute by in hive?
How to parse a date time string?
What is stringreader in c#?
What are the Types of optimization and name a few and how do u do?
What is c-sharp (c#)?
Can var be null c#?
How C# 4.0 supports dynamic programming language?
Is array ienumerable c#?
What is the use of ienumerable?
Why do we need interfaces in c#?
Why to use “using” in c#?
What is difference between continue and break in c#?
What is different about switch statements in c#?
What is task parallel library?