Is it possible to extend the Math class and still use the Math class to call the extended method?
For example, I have a method public static double mean (LinkedList<? extends Number) I would like to call like this Math.mean(list). Is this doable? How?
Thanks.
Doc Java.lang.Math is Final class, can’t be extended
Update:
Static Method can’t be inherited & final class can’t be extended.