Question 6 [6 marks) Write a Java class method createJSON() to return an object with type JSONObject which contains the
Posted: Sun May 15, 2022 11:51 am
Question 6 [6 marks) Write a Java class method createJSON() to return an object with type JSONObject which contains the following content: {"schoolinfo": { "school":[ {"tutitionfee": 1323.5, "schoolname":"School A"}, {"tutitionfee": 0, "schoolname":"School B"} ], "title":"School Information" > } No import statements, no formatting, and no try-catch are needed. 6 [6]