HCLTech Interview Question

How to prevent a class from being inherited.

Interview Answer

Anonymous

Dec 18, 2019

Declare class as a sealed class