import java.lang.reflect.Constructor; public class Main { public static void main(String[] argv) throws Exception { Constructor[] cons = String.class.getDeclaredConstructors(); for (int i = 0; i < cons.length; i++) { Class[] paramTypes = cons[i].getParameterTypes(); System.out.println(cons[i]); } } }