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


How can you prevent your class to be inherated further



How can you prevent your class to be inherated further..

Answer / kirti

By setting Sealed - Key word

public sealed class Planet

{

//code goes here

}

class Moon:Planet

{

//Not allowed as base class is sealed

}

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

Types of assemblies that can be created in dotnet ?

2 Answers   MMTS,


What is difference between Viewbag and Viewdata in ASP.NET MVC?

0 Answers   NA,


In Server how to check whether model has error or not in ASP.Net MVC

0 Answers   B-Ways TecnoSoft,


What is the difference between model view and controller?

0 Answers  


Describe the roles of clr in .net framework.?

0 Answers  


In .net compact framework, can we free memory explicitly without waiting for garbage collector to free the memory?

0 Answers  


If background completes its processing will it wait for foreground threads?

2 Answers   Kanbay,


How do you handle variable number of segments in a route definition?

0 Answers  


What is .net core framework?

0 Answers  


What are Action Filters in ASP.NET MVC and its use?

0 Answers  


Explain representational state transfer (rest) in detail?

0 Answers  


why DotNetFramework is included in building a software

0 Answers   Infosys, Symphony,


Categories