Can you prevent your class from being inherited by another class?
Options
- Yes. The keyword “Prevent” will prevent the class from being inherited.
- Yes. The keyword “Abstract” will prevent the class from being inherited.
- Yes. The keyword “Static” will prevent the class from being inherited.
- Yes. The keyword “sealed” will prevent the class from being inherited.
CORRECT ANSWER : Yes. The keyword “sealed” will prevent the class from being inherited.
Write your comments