1

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());
        }
Oliver Charlesworth
  • 267,707
  • 33
  • 569
  • 680
Gabriela Marinho
  • 179
  • 1
  • 1
  • 6

0 Answers0