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 are the contents of assembly?
can i change web.config settings from iis?
1 Answers HCL, ReadySoft, Wipro,
What is Globalizationa and Localization
In .net compact framework, can we free memory explicitly without waiting for garbage collector to free the memory?
Possible ways to prevent xss attacks on mvc application?
How does .net framework works?
Which .net framework is installed?
What is viewstart page in mvc?
Which is the default http method for an action method?
WHICH IS THE BEST INSTITUTE FOR DOTNET REAL TIME PROJECT TRAINING
21 Answers ABC, Cap Gemini, Comspark,
What is the difference between partial and renderpartial?
What is the difference between the value-type variables and reference-type variables in terms of garbage collection ?