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
Can you declare struct members as protected?
Why do we use yield in c#?
What is the difference between static and private constructor in c#?
What is the use of ienumerable in c#?
What is strong name in c# and how can we use it?
When can a derived class override a base class member?
What is inheritance in csharp?
What language is arduino?
What is the size of a decimal?
What are controls in c#?
Explain the security with aop?
Describe the process of “exception handling implementation” in c#?
What is .cshtml file?
What is a service layer c#?
Why we use get and set method in c#?