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 |
What is strong name?
What filters are executed in the end?
What are ajax helpers in asp.net mvc?
Are there any parts of the .net framework 3.0 that only work on windows vista?
What is CLR? How it will work?
How can I return string result from action in asp.net mvc?
What is needed for running an application built on winfx on the .net framework 3.0?
What is the use of web api ? Why web api needed, if you have already restful services using wcf ?
Can you please explain the request flow in ASP.NET MVC framework?
what is minimum requirement for entity framework applications to run?
can we call the garbage collector to run explicicitly?
What is difference between shared and public