Skip to main content

Constructor in Java

Learn Constructor in Java (Java Basics, Java) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

1. Introduction A constructor is a special member with the class name and no return type that initializes a new object when it is created with new.

More lessons in Java Basics