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 |
Which is the default http method for an action method?
What are the sub types of ActionResult?
What's the difference between Java and .NET garbage collectors ?
What is page life cycle?
What is the difference between string and String
mention what is code first approach and model first approach in entity framework?
Do I need microsoft .net framework?
What is associationset? : Entity framework
What are the types of assemblies
What is edm (entity data model)? : Entity framework
Why to use html.partial in mvc?
What's an interface