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 |
How do you create shared assemblies ?
How does CAS work
Can I use razor code in javascript in asp.net mvc?
What are actions in mvc?
What does 'managed' mean in the .NET context
How to return the JSON from action method in ASP.Net MVC?
can i change web.config settings from iis?
1 Answers HCL, ReadySoft, Wipro,
what is way of loading data in ef (entity framework)?
What is Jit compilers?.how many are available in clr
What is iobjectset? : Entity framework
Explain something about model, view and controllers in asp.net mvc?
Speaking of Boolean data types, what's different between C# and C/C++ ?