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 multicast delegate? How it be used?
What are strongly typed objects?
What is cts, clr?
Which function is the entry point for a DLL in MS Windows 3.1?
What is an assembly qualified name? Is it a filename? How is it different?
What is the difference between Singleton design pattern and Factory design pattern?
Explain the types of comments in c#?
Can you create sealed abstract class in c#?
Explain about Error handling and how this is done
How can you write a class to restrict that only one object of this class can be created (Singleton class)?
Explain the clr triggers?
Is c# 8 released?
What is the use of return in c#?
How long does a loop recorder procedure take?
Define parsing? Explain how to parse a datetime string?