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...

Can you prevent your class from being inherited and
becoming a base class for some other classes?

Answer Posted / shantanu singh patel

Yes you can make it by using Sealed keyword.

No when your class in Sealed you cant inherit the class
then the question of base class for some other class is not
significant.

Thanks and Regards,
Shantanu

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is default class in c#?

885


What is deadly diamond problem?

930


Explain about Destructor method?

919


How do you implement thread synchronization in c#?

856


What is asp net c#?

906


What is static classes?

917


Why do we use dictionary in c#?

943


Can partial class be inherited?

883


What all details the assembly manifest will contain?

800


What is the difference between firstordefault and singleordefault?

860


What is difference between singleordefault and firstordefault?

870


What is an escape sequence in c#?

940


Explain the difference between arraylist and array and in c#?

915


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

1038


What is lazy keyword in c#?

869