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 |
Can we add constraints to the route? If yes, explain how we can do it?
Explain the role of assembly in the .net framework.
what are the aggregate functions in ASP.NET?
How to create an alias name for a namespace?
about triggers?
What is renderbody?
Can you explain renderbody and renderpage in mvc?
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 ?
Explain representational state transfer (rest) in detail?
What is the difference between managed and unmanaged code?
What is the use of dataadapter ?