Wats the diff between sealed class and private class in
inheritance
Answer Posted / robert j
continuation from the prev.post...
We can put the "private" keyword, if and if only the class
is in public class.. It is rarely used..
public class a
{
...
private class b
{
..
}
}
otherwise, we can not put private keyword over the classes
directly..
| Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
Is enum a class c#?
what is the difference between .dll and .exe
If c# destructors are so different to c++ destructors, why did ms use the same syntax?
Is c# difficult to learn?
What is concrete method in c#?
Are there constructors in c sharp?
Define thread?
What is a method signature c#?
What is delegates in c# and uses of delegates?
What are the desktop applications?
Why do we use public static void main in c#?
We cannot create instances of static classes. Can we have constructors for static classes?
What is a byte in c#?
When should we use sealed class in c#?
Define boxing and unboxing in c#?