What is Constructor in JAVA
March 23, 2015
Constructor is initializer block in class. This block call when class initialized. Constructor block called when instance of class is created. Without constructor we can’t create instance of that class. If we doesn’t create any constructor in a class then that class have a default constructor.