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

continuation from the prev.post...



We can put the "private" keyword, if and if only the class
is in public class.. It is rarely used..

public class a
{
...

private class b
{
..
}
}



otherwise, we can not put private keyword over the classes
directly..

Is This Answer Correct ?    10 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Global Assembly Cache (GAC) and what is the purpose of it? (How to make an assembly to public? Steps) How more than one version of an assembly can keep in same place?

1063


Are value types sealed?

997


What is an abstract class c#?

906


What is a .aspx file?

878


What is Dependency of Injection?

968


What is difference between comparable and comparator?

901


Can we declare private class in c#?

929


Is versioning applicable to private assemblies?

995


what is virtual method in c#?

1203


What is difference between int and int in c#?

979


What are the characteristics of c#?

927


Can we have only “try” block without “catch” block in c#?

887


What are properties in C#?

993


Why are strings in c# immutable?

938


What is xaml in c#?

950