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

Can you declare struct members as protected?

853


Why do we use yield in c#?

860


What is the difference between static and private constructor in c#?

948


What is the use of ienumerable in c#?

972


What is strong name in c# and how can we use it?

897


When can a derived class override a base class member?

844


What is inheritance in csharp?

935


What language is arduino?

950


What is the size of a decimal?

1025


What are controls in c#?

897


Explain the security with aop?

1006


Describe the process of “exception handling implementation” in c#?

911


What is .cshtml file?

881


What is a service layer c#?

812


Why we use get and set method in c#?

882