import java.lang.reflect.*; public class Refl6 { public static void main(String args[]) throws Exception { Class c=Class.forName(args[0]); Method m[]=c.getDeclaredMethods(); for(int i=0;i<m.length;i++) System.out.println(m[i].getName()); } }
import java.lang.reflect.*; public class Refl6 { public static void main(String args[]) throws Exception { Class c=Class.forName(args[0]); Method m[]=c.getDeclaredMethods(); for(int i=0;i<m.length;i++) System.out.println(m[i].getName()); } }
Bloggerized by DheTemplate.com - Main Blogger