java.lang.Class.getConstructors() java.lang.Class.getConstructor() java.lang.Class.getDeclaredConstructor() java.lang.Class.getConstructors() package com.codingdict; import java.lang.reflect.*; public class ClassDemo { public static void main(String[] args) { try { Class cls = Class.forName("java.awt.Panel"); System.out.println("Panel Constructors ="); /* returns the array of Constructor objects representing the public constructors of this class */ Constructor c[] = cls.getConstructors(); for(int i = 0; i < c.length; i++) { System.out.println(c[i]); } } catch (Exception e) { System.out.println("Exception: " + e); } } } java.lang.Class.getConstructor() java.lang.Class.getDeclaredConstructor()