Why final?

final modifier when used bfore a class name prevent it to be inherited

but this functionality can be achieved via private constructor?

so why was final implemented in the first place?

I understand, final is used for other purposes as well including making constants and preventing method override

however there was no need of functionality of final bfore a class name just like C++, isnt it?

[422 byte] By [enterneoa] at [2007-11-27 8:56:08]
# 1
> final modifier when used bfore a class name prevent> it to be inherited> > but this functionality can be achieved via private> constructor?A private constructor also keeps anything other than the class from instantiating the class.
paulcwa at 2007-7-12 21:18:27 > top of Java-index,Java Essentials,New To Java...