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

Explain about multithreading?

987


What is difference between .net and c#?

901


Why main is static in c#?

1004


Why do we use delegates in c#?

875


What is the object class in c#?

924


What is the base class from which all value types are derived?

906


What is the use of 'as' Keyword in C# ?

990


How does yield return work c#?

895


Why data types are important?

924


How long does it take to get a loop recorder put in?

838


Differentiate between dataset and datareader?

925


How many dimensions can an array have?

851


What are the Types of compatabilities and explain them

944


What is mvc pattern in c#?

890


Can a struct inherit from another struct or class in c#?

883