Can you prevent a class from being inherited? How? (Sealed/Final) | Inheritance and Composition | OOPS Interview Questions | NextRound.in