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
Can abstract class be sealed in c#?
What do you mean by “finalize” and “finally” methods in c#?
Can we maintain state in webservice?
Explain About .NET Remoting and types of remoting
Define satellite Assembly?
if we are updating a database using thread, and mean while application crashes or thread being aborted then what will happen in Database? Rollback or Database will be updated? Please explain with different scenario.
Why do we use virtual methods in c#?
What is difference between association, aggregation and inheritance relationships?
What is mvc firstordefault?
Is c# scripting language?
What is dataset and dataadapter in c#?
How many types of serialization are there in c#?
What does static mean in c sharp?
can you allow a class to be inherited, but prevent the method from being over-ridden?
If you define a user defined data type by using the class keyword, is it a value type or reference type?