☑Kizspy.me
Zoom
o Solutions will be marked by Automated Marking Software.
о
The use of tools other than those allowed in the above section whether intentionally or
unintentionally, is considered a violation of the exam rules, and the exam result will be 0.
• Do not change the names of the folders and files specified (or required) in the exam. If
you change it (incorrectly), the marking software can not find the execute file (.jar) to mark,
thus the exam result will be 0.
• All source code files .java in the projects will be created in the default package of the
NetBean
2 of 3
Paper No: 1
Question 1: (2 marks)
Do not pay attention to the real meaning of objects, variables, and their values in the questions below.
Write a class Restaurant (in the default package of the NetBeans) with the following information:
Restaurant
-restaurantName: String
+ 100%
Where:
•
Restaurant (restaurantName: String, city: String,
Close