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 / dhanunjaya

yes,By using a keyword called "sealed".a sealed class can
never be a base class for any class,it is the bottom most
class in a class hierarchy.......so it cant be be base
class further more....

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain About Virtual functions and their use.

948


What is the difference between // comments, /* */ comments and /// comments?

800


Enlist some of the properties of a thread class?

870


Why use a singleton instead of static methods?

840


What are types in c#?

858


Is object an int c#?

860


What are the 2 kinds of data type conversions in c#?

819


How do I stop my console from closing in c#?

859


Explain the process of Serialization?

947


Explain the differences between static, void and public in c#?

963


What are value types in c#?

846


What is linq c#?

841


What is helper method in c#?

872


Is c# and .net same?

818


When was .net linq added?

909