How can I dynamically load the functions of java.lang.Math

33 views Asked by At

I need to dynamically load the functions of java.lang.Math and when chosenbe able to use that function.

I've tried this but it didn't work.It gives me a null pointer exception.

private static Class<Math> Math;

 for (PropertyDescriptor propertyDescriptor
                : Introspector.getBeanInfo(Math).getPropertyDescriptors()) {

            System.out.println(propertyDescriptor.getReadMethod());
        }
0

There are 0 answers