I wanted to know why do we need final class in java... what could be the best answer for it...
I know we use final so that our class can't be inherited, but why we don't want our class to be inherited. Inheritence is used to increase code reusability... but we aren't implementing it in Final Class.
please somebody explain?