Is there any other method of stopping inheritance of a class apart from declaring it as final or by declaring its constructor as private?
Final was created to solve this problem.