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

How are Windows programs different from normal C-programs?

1902


Is string a primitive data type in c#?

652


What is the default scope of a class in c#?

684


Explain what is an interface in c#?

695


What is anonymous class in c#?

694


Explain manifest & metadata in c#.

737


What is the difference between read and readline in c#?

708


Can structs in c# have destructors?

742


Explain the role of the datareader class in ado.net connections?

665


what are some characteristics of an array?

716


Are c# strings immutable?

675


What is semaphore in c#?

691


What is entity framework in c#?

658


How do you type a null character?

661


Explain the types of comments in c#?

720