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


Please Help Members By Posting Answers For Below Questions

Explain the security with aop?

654


what is the difference between the debug class and trace class?

524


Which is more efficient for loop or while loop?

473


How many static constructors are allowed in a class?

484


What is class sortedlist underneath?

572






Why we use oops in c#?

546


How do you prevent a class from being inherited in c#?

456


Is c# front end or back end?

515


What is default access modifier for class in c#?

503


What are access modifiers used for?

599


What is console writeline in c#?

473


Why do we need reflection in c#?

495


What is xml comments in c#?

498


What are events in C#?

562


Define c# i/o classes? List the commonly used classes?

547