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

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

0 Answers  


Explain the role of assembly in the .net framework.

0 Answers  


what are the aggregate functions in ASP.NET?

1 Answers   CTS, IBM, Zylog,


How to create an alias name for a namespace?

4 Answers   IBM,


about triggers?

6 Answers   CSC,


What is renderbody?

0 Answers  


Can you explain renderbody and renderpage in mvc?

0 Answers  


What are the types of assemblies and where can u store them and how ?

11 Answers   Accenture, BirlaSoft, IBM,


Describe the advantages of writing a managed code application instead of unmanaged one. What's involved in certain piece of code being managed ?

1 Answers  


Explain representational state transfer (rest) in detail?

0 Answers  


What is the difference between managed and unmanaged code?

12 Answers   IBM,


What is the use of dataadapter ?

5 Answers   Arvato,


Categories