package com.abin.lee.reflect;
import java.lang.reflect.Method;
public class DumpMethods {
public static void main(String[] args) {
try {
Class clazz=Class.forName("java.util.Stack");
Method method[]=clazz.getDeclaredMethods();
for(int i=0;i<method.length;i++)
System.out.println(method[i].toString());
} catch (Exception e) {
e.printStackTrace();
System.err.println(e.getMessage());
}
}
}