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

What is .net framework in simple terms?

0 Answers  


Can we add constraints to the route? If yes, explain how we can do it?

0 Answers  


Where do the reference-type variables go in the RAM ?

1 Answers  


what is MVC pattern?

2 Answers  


What is RouteConfig.cs in ASP.Net MVC 4?

0 Answers  


Explain what is the difference between view and partial view?

0 Answers  


Is it possibe to run 2 aplication on single m/c, one App is on .Net Framework 1.0 and another one is on .Net Fremework 2.0?

7 Answers  


How does work clr?

0 Answers  


What are sections?

0 Answers  


How does the 'page lifecycle' of asp.net mvc works?

0 Answers  


What is difference between razor and web form engine?

0 Answers  


what is Thread Priority?

2 Answers  


Categories