is it possible to inherit a class but methods declared in
the class should not be inheritable i possible how?
Answer Posted / arunkumar
s it is possible by doing Sealed keyword to the method in
first class
| Is This Answer Correct ? | 21 Yes | 8 No |
Post New Answer View All Answers
What is the keyword used to prevent a class from being inherited by another class?
What is reflection c#?
Describe how a .net application is compiled and executed
Why main is static in c#?
What is difference between the "throw" and "throw ex" in .net?
What is the difference between struct and class c#?
What is dll in c#?
Can abstract class have private constructor c#?
What is check/uncheck?
What does mean c#?
How to implement a singleton design pattern in c#?
How do you declare an interface in c#?
What is var c#?
What is difference between string and stringbuffer in c#?
What is thread.sleep()?