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
What is Global Assembly Cache (GAC) and what is the purpose of it? (How to make an assembly to public? Steps) How more than one version of an assembly can keep in same place?
Are value types sealed?
What is an abstract class c#?
What is a .aspx file?
What is Dependency of Injection?
What is difference between comparable and comparator?
Can we declare private class in c#?
Is versioning applicable to private assemblies?
what is virtual method in c#?
What is difference between int and int in c#?
What are the characteristics of c#?
Can we have only “try” block without “catch” block in c#?
What are properties in C#?
Why are strings in c# immutable?
What is xaml in c#?