Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Notes: a) Convert the UML design into Java code (Note create the interface, the abstract class, the classes) and all of its attributes b) Take
Notes: a) Convert the UML design into Java code (Note create the interface, the abstract class, the classes) and all of its attributes b) Take care about the classes relationships (inheritance, composition...) c) Take care about the overriding methods, abstract methods d) Use Encapsulation concepts when needed. What we need in the main method 1- Create objects of Department class and insert the following data: (114, Software Engineering) 2. Create an object of Faculty class and insert the following data: (IT, Building No.9, dept-object) 3. Using the printInfo method to Print the following UniversityName, University Address, FacultyName, Faculty Location, DeptNo, DeptName ZUJ UNL AMMAN IT Building No.9 114 Software Engineering 4- Create an object of Student class and insert the following data: The object data that must be inserted as (2018102010, Ali Ahmad". "Java", 90,70,80) (2017201051," Sami Salim ", " Database", 70, 70, 70) (2019205510. Rami Khalil", "Oracle". 55,55,55) 5. The printInfo method in this class must print the following UniversityName, FacultyName, DeptName, studentNo, StudentName, courseName, average, result, ( ) ZU UNI IT Software Engineering 2018102010 Ali Ahmad Java Another object ZUJUNI Software Engineering 2017201051 Sami Salim Database 70 Another object ZUJ UNI. Software Engineering 2019205510 Rami Khalil Oracle 55 Fail As: 80 Pass IT Pass IT Notes: a) Convert the UML design into Java code (Note create the interface, the abstract class, the classes) and all of its attributes b) Take care about the classes relationships (inheritance, composition...) c) Take care about the overriding methods, abstract methods d) Use Encapsulation concepts when needed. What we need in the main method 1- Create objects of Department class and insert the following data: (114, Software Engineering) 2. Create an object of Faculty class and insert the following data: (IT, Building No.9, dept-object) 3. Using the printInfo method to Print the following UniversityName, University Address, FacultyName, Faculty Location, DeptNo, DeptName ZUJ UNL AMMAN IT Building No.9 114 Software Engineering 4- Create an object of Student class and insert the following data: The object data that must be inserted as (2018102010, Ali Ahmad". "Java", 90,70,80) (2017201051," Sami Salim ", " Database", 70, 70, 70) (2019205510. Rami Khalil", "Oracle". 55,55,55) 5. The printInfo method in this class must print the following UniversityName, FacultyName, DeptName, studentNo, StudentName, courseName, average, result, ( ) ZU UNI IT Software Engineering 2018102010 Ali Ahmad Java Another object ZUJUNI Software Engineering 2017201051 Sami Salim Database 70 Another object ZUJ UNI. Software Engineering 2019205510 Rami Khalil Oracle 55 Fail As: 80 Pass IT Pass IT
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started