Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Wats the diff between sealed class and private class in
inheritance

Answer Posted / robert j

We can not put private,protected, internal protected over
the classes.. it is public by default...

The main purpose of putting "sealed" for the classes is to
prevent the other classes to refer it.It's functionality
can not be shared..

The important point is , "sealed" class can inherit from
any other non-sealed classes.. But no other classes can
inherit from a sealed class..

Is This Answer Correct ?    8 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between list and array in c#?

1038


Why do we use hashtable in c#?

962


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

1042


What are delegates?

1233


What are the different ways of method can be overloaded?

880


Explain About namespaces

983


What is use of singleton class in c#?

987


What is keywords in c#?

897


What is difference between ienumerable and iqueryable in c#?

931


What is the use of ienumerable in c#?

1065


Explain About a class access specifiers and method access specifiers.

987


Is array thread safe c#?

868


What is datatable in c#?

947


What is the difference between Decorator and Adapter pattern?

976


Can destructors have access modifiers?

960