Answer:
constructor
Step-by-step explanation:
A constructor is a special method that initializes the fields of a class whenever a new object of that class is created with the new keyword. This method is called each time a new object is created.
In the class definition, the constructor has the same name as the name of the class and does not contain a return type, not even void.
A constructor looks like this
public class Construct {
String name;
//Constructor
Construct(){
this.name = "ijeggs";
}
}