Consider the below code :
I suppose we can always instantiate a final class.
Declaring the class as final just means that it cannot
be subclassed. Am i right ?
I just tried the same with Math class as below :
which gives compiler error
Math() has private access in java.lang.Math
Is it solely for the reason that we invoke the static methods of Math class using the class name..