説明してください
public class Contact {
private String contactId;
private String firstName;
private String lastName;
private String email;
private String phoneNumber;
public Contact(String contactId,String firstName, String lastName, String email, String phoneNumber) {
super(); //what does standalone super() define? With no args here?
this.firstName = firstName;
this.lastName = lastName; //when is this used?, when more than one args to be entered?
this.email = email;
this.phoneNumber = phoneNumber;
}
内部に引数がないSuper()は、定義する引数が複数あることを意味しますか?そして、これは「this.xxx」の助けを借りて行われますか?
なぜ「パブリッククラスContact」自体で定義するのか。なぜここで再度定義し、その引数を呼び出したのですか?