Wats the diff between sealed class and private class in
inheritance

Answer Posted / satyam

when a class defined as sealed its not possible to inherit
its class and properties to the inherited class.Its also
applicable to the class properties.Even class defined as
public its banned to inherit the class.

Is This Answer Correct ?    7 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a variable and a literal?

539


What's different between c# and c/c++?

535


What do you mean by generic class in c#?

496


What are custom attributes in c#?

499


Explain jagged arrays in c#?

574






Can you access a hidden base class method in the derived class?

500


What is arraylist c#?

466


Give an example of a directcast.

518


What is the execution entry point for a c# console application?

526


What is difference between arraylist and list in c#?

436


User's session is explicitly killed by which method ?

508


What is difference between ienumerable and iqueryable in c#?

497


What is difference between for and foreach in c#?

471


What is the difference between throw and throw ex?

467


What is a float?

496