Question: On the design above, I am a Java language program - Define all conversions and translate (attributes) split endings and (styles) define Incalsat design above.


On the design above, I am a Java language program - Define all conversions and translate (attributes) split endings and (styles) define Incalsat design above. In (method) in the main, he defined the (bodies) and smoldering patterns, typed, and a set of tasks were described in points Above from No. (0 to No. 5)
Second question: Use the following UML to create two classes and main method Grade SO interface University University Nam : String "ZUJ UNI." University Address: String "AMMAN" getUnivName() getUnivAddress() printInfo(// print university information Note: Many departments in each Faculty Faculty - Faculty Nam : String -Faculty Location : String -Faculty Dean : String Faculty(String, String, String) +getUnivName) method +getUnivAddress() method +(/3 1 to many Department -deptNo -dept Name : String -Heado Department: String Department (int, String, String) +printInfo(// to return Department Name and Department No [ ]printInfo abstract Student Class - studentNo String - studentName : String -deptNo - gradel - grade2 int -grade3 :int +Student(string, string, int, int, int, int) taverage() // return average=(gradel+grade2+ grade373 +result // retum pass or fail (if average greater than 60 then Print Pass else fail) +PrintName() print the student name in capital letters +() Write the following Methods 5 // {)print Info | IS-A IS-A Full TimeStudent class Part Time Student class learning Type: string (part Time) campusName: string 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 As: ZUJUNI 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) IT 5- The printInfo method in this class must print the following UniversityName, FacultyName, DeptName, studentNo, StudentName, courseName, average, result, ( ) ZUJ UNI. Software Engineering 2018102010 Ali Ahmad Java 80 Pass Another object ZUJ UNI. Software Engineering 2017201051 Sami Salim Database 70 Pass Another object ZUJ UNI Software Engineering 2019205510 Rami Khalil Oracle 55 Fail IT IT
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
