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 / guest

the diffenence between the TWO is that:

In private Class: We can create a constructor and therefore
we can create an instance of that class.

But
In Sealed class we can not create a constructor of that
class, so no instance of that class is possible.


Private Constructor of a Private Class = Sealed Class.

Is This Answer Correct ?    4 Yes 33 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain publishers and subscribers in events.

900


Why objects are stored in heap in c#?

903


what is inheritance and an example in vb.net and c# of when you might use it?

909


Write a sample code to write the contents to text file in c#?

856


What's the difference between an integer and int?

1004


Can int be null c#?

881


What is data bind in c#?

872


Illustrate the process of code compilation in c#?

882


What is extended class in c#?

861


What is hierarchical inheritance in c#?

919


What is difference between out and ref in c#?

965


What is object pool in .net?

892


How do I port "synchronized" functions from visual j++ to c#?

864


In a single .NET DLL how many classes it contains?

895


How do I calculate relative time?

889