import org.json.JSONObject;
public class Sarvar {
private final String name;
private final String surname;
private final JSONObject profile;
public Sarvar(String name, String surname, JSONObject profile) {
this.name = name;
this.surname = surname;
this.profile = profile;
}
public static void main(String... args) {
JSONObject profile = new JSONObject()
.put("role", "Software Engineer")
.put("focus", "Java Backend Development")
.put("interests", new String[]{
"Artificial Intelligence",
"Startups",
"System Design",
"Scalable Backend Systems"
})
.put("mindset", "Creative Thinker")
.put("description", "Builder who connects AI ideas with real-world startup products")
.put("experienceLevel", "Graduate / Early Professional");
Sarvar sarvarInfo = new Sarvar("Sarvar", "Musazade", profile);
System.out.println(sarvarInfo.profile.toString(2));
}
}Visit my Website

