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 are the various components in crystal reports?
What is the difference between private and protected in c#?
Can you inherit from multiple classes in c#?
Can we inherit partial class in c#?
So let's say I have an application that uses myapp.dll assembly, version 1.0.0.0. There is a security bug in that assembly, and I publish the patch, issuing it under name myapp.dll 1.1.0.0. How do I tell the client applications that are already installed to start using this new myapp.dll?
Explain get and set accessor properties?
What is addressof operator?
What is windows form in c#?
What are the advantages of interface in c#?
What is asp net in c#?
Is c# and c same?
Which is better javascript or c#?
What is the difference between abstract and abstraction?
What is executenonquery c#?
Is it good to use var in c#?