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 the difference between proc. Sent by val and by sub?

923


What is the difference between namespace and class in c#?

945


Can a class have multiple constructors c#?

889


Why do we use delegates in c#?

907


How does dependency injection work c#?

944


Define constructors

945


Explain concurrency with aop?

980


What are the collections in c#?

894


List down the different ide’s provided by microsoft for c# development.

887


Explain circular reference in c#?

942


What do multicast delegates mean?

1000


What does out mean in c#?

934


Explain the difference between “as” and “is” operators used in c#?

958


How to achieve polymorphism in c#?

962


What method is used to sort the elements of the array in descending order?

954