Simple java inheritance question -


Is it possible to expand the Math class and still use the mathematical orbit to call extended method?

For example, I have a method public static double meaning (linked list is); The number increases I want to call Math.mean (list) this way. Is it possible? how?

Thank you.

Java.lang.math is the last category, can not be extended - UPDATE: The static method can not be inherited & amp; Last class can not be extended


Comments