You cannot get a constructor in java, you can run the constructor Class1 class = new Class1(); // When creating a new instance of a class. // The constructor is called.