Which keyword is used to put a stop on inheritance?
A. stop
B. end
C. break
D. final
Answer:A
Which keyword is used to put a stop on inheritance?
A. stop B. end C. break D. final
Explanation: A final class cannot be subclassed.