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

For methods inside the interface why can’t you specify the accessibility modifier?

959


How do I create a new form in c#?

993


What happens when thread sleep () method is called?

910


What is xml serialization and deserialization in c#?

964


What is integer c#?

917


Can you explain template pattern?

1050


What is single dimensional array in c#?

943


How many types of interface are there in c#?

987


What is sql transaction in c#?

896


what is the default access for a class

1105


How is exception handling implemented in c#?

1046


What is the meaning of console writeline in c#?

874


What is an expression in c#?

918


What do you mean by directing?

1003


What Is A Satellite Assembly?

973