1 import java.lang.reflect.*; 2 public class pr8415 3 { meth()4 public static void meth () throws NullPointerException 5 { 6 throw new NullPointerException(); 7 } 8 main(String[] args)9 public static void main(String[] args) throws Throwable 10 { 11 Class k = pr8415.class; 12 Method m = k.getMethod ("meth", new Class[0]); 13 System.out.println(m); 14 } 15 } 16