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 difference between overloading and short circuiting?

992


What are properties in c#. Explain with an example?

914


Enlist some of the properties of a thread class?

931


What are events in C#?

987


Is predicate a functional interface?

973


How can you access a private method of a class?

1014


What is constants in c#?

907


What is different between Static Constructor and Private Constructor?

1006


What is data type c#?

966


What is mean by c#?

948


Which is faster array or arraylist in c#?

915


What is an interface class in c#?

1102


Can multiple inheritance implemented in c# ?

914


How can I get the ascii code for a character in c#?

1067


What are object pooling and connection pooling and difference? Where do we set the Min and Max Pool size for connection pooling?

1152