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

Is there an equivalent of exit() for quitting a c# .net application?

961


What is signature c#?

913


What are the advantages of properties in c#?

967


What is the difference between Static, Const and read only?

1071


What is event and delegates in c#?

985


Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.

2330


What is use of private class in c#?

979


What are partial classes and use of partial classes?

936


Are c# tuples immutable?

915


What is a thread? What is multithreading?

928


Is c# scripting language?

879


If dll and exe files are same it means you can deploy both the files in gac?

928


Why is c# a good programming language?

989


Can the accessibility of a type member be greater than the accessibility of its containing type?

942


Is there hashmap in c#?

917