How can you prevent your class from being inherited by another class?
Select Answer:
The keyword “Private” will prevent the class from being inherited.
The keyword “Virtual” will prevent the class from being inherited.
The keyword “Base” will prevent the class from being inherited.
The keyword “sealed” will prevent the class from being inherited.
|