public class Sarvar {
private final String name;
private final String surname;
private final JSONObject education;
public Sarvar(String name, String surname, JSONObject education) {
this.name = name;
this.surname = surname;
this.education = education;
}
public static void main(String...ideasForImprovment) {
JSONObject educationInfo = new JSONObject()
.put("university", "Süleyman Demirel University")
.put("class", 4);
Sarvar sarvarInfo = new Sarvar("Sarvar", "Musazade", educationInfo);
}
}
Visit my Website