Wats the diff between sealed class and private class in
inheritance

Answer Posted / mayur

The Difference between sealed class and private class
is not same
bcoz in private class the user can call the function in
same class
and
if the user has to call sealed class then the methods
function can be called throught other class also

Is This Answer Correct ?    15 Yes 37 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain About namespaces

579


Are there functions in c#?

509


How does the lifecycle of Windows services differ from Standard EXE?

521


What is parseexact c#?

532


What is the benefit of dependency injection c#?

488






Can scriptable objects have methods?

500


What are properties in c#. Explain with an example?

479


What is the use of inheritance in c#?

486


List some of the basic string operation?

504


What is difference between float and integer?

559


What is class in oops with example in c#?

509


How do I do implement a assert?

497


What is thread pooling?

533


Is c# or c++ better for games?

466


What is difference between for and foreach in c#?

471