is it possible to inherit a class but methods declared in
the class should not be inheritable i possible how?
Answer Posted / rajni
yes it is possible for method not to inherit make it final.
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
What exception can an overridden method throw in comparison with the method it is overriding?
What is the difference between console application and windows application?
Overloaded constructor will call default constructor internally?
What is icomparer in c#?
Can you call from an inherited constructor to a specific base constructor if both base class and an inheriting class has a number of overloaded constructors?
Explain the use of virtual, sealed, override, and abstract method?
The int maps to which C# keyword in .NET type?
Is object an int c#?
What is a console operator?
What is the difference between values and reference types?
What is lazy loading c#?
What are the basics of c#?
What is a factory in c#?
What are the steps to make an assembly to public?
How do you create dlls in .NET