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 console used for?

1065


What are types of constructor?

929


What is type system in c#?

990


State whether it is true to test a Web service you must create a windows application or Web application to consume this service or not?

998


What is ulong in c#?

1078


Can class inherit from struct c#?

1013


What is difference between code access and role based security?

1156


What are primitive types in c#?

1013


What is a variable in c#?

978


What are nested classes in c#?

996


What is the difference between dispose() and finalize() methods in c#?

980


How big is an int16?

937


Explain how can you clean up objects holding resources from within the code?

976


What is the use of main method in c#?

1031


How many digits are in an integer?

903