Import the provided Driver1.java and Driver2.java to org.university.software package. The package hierarchy of your project should...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Import the provided Driver1.java and Driver2.java to org.university.software package. The package hierarchy of your project should be as in the following: University -m org.university.hardware Classroom.java Department.java org.university.people Employee.java Person.java Professor.java Staff.java Student.java org.university.software Course.java Driver 1.java Driver 2.java University.java UniversityGUI.java JRE System Library [jre7] Task1 (20 points) This task will involve serializing and de-serializing objects. Note this task will not involve any GUIs. Run Driver1.java. Your output should match Task|Results.txt. Results can be displayed in the eclipse console. The University class should contain 2 new methods saveData(univ: University) and loadData(). The saveData(univ: University) is a static method that should save all the serialized object data of the University into a file called "university.ser" that should be saved under project root folder. The loadData() method should be able to read from the university.ser file and restore the object data. Hint: you will need to make all relevant classes under org.university.hardware, org.university.people and org.university.software serializable. The University class also needs a method printAll(). It should report the information about all courses, departments, classrooms, etc. as depicted in the Task Results.txt file. The File menu items are as below. Their functionality will be addressed later. UniversityGUI File Students Administrators Save Load Exit Welcome to the University. se an action from the above menus. Figure 2 The Student menu items are as below. The selections will allow a student to add a course to his/her schedule, drop a course, or print his/her entire schedule. UniversityGUI File Students Administrators Add Course Drop Course Print Schedule the University. om the above menus. Figure 3 The Administrator menu item is as below. It simply allows for printing all information relevant to the present system. Descriptions for required output will be mentioned later. UniversityGUI Eile Students Administrators Weld Print All Info ersity. Choose an action from the above menus. Figure 4 Import the provided Driver1.java and Driver2.java to org.university.software package. The package hierarchy of your project should be as in the following: University -m org.university.hardware Classroom.java Department.java org.university.people Employee.java Person.java Professor.java Staff.java Student.java org.university.software Course.java Driver 1.java Driver 2.java University.java UniversityGUI.java JRE System Library [jre7] Task1 (20 points) This task will involve serializing and de-serializing objects. Note this task will not involve any GUIs. Run Driver1.java. Your output should match Task|Results.txt. Results can be displayed in the eclipse console. The University class should contain 2 new methods saveData(univ: University) and loadData(). The saveData(univ: University) is a static method that should save all the serialized object data of the University into a file called "university.ser" that should be saved under project root folder. The loadData() method should be able to read from the university.ser file and restore the object data. Hint: you will need to make all relevant classes under org.university.hardware, org.university.people and org.university.software serializable. The University class also needs a method printAll(). It should report the information about all courses, departments, classrooms, etc. as depicted in the Task Results.txt file. The File menu items are as below. Their functionality will be addressed later. UniversityGUI File Students Administrators Save Load Exit Welcome to the University. se an action from the above menus. Figure 2 The Student menu items are as below. The selections will allow a student to add a course to his/her schedule, drop a course, or print his/her entire schedule. UniversityGUI File Students Administrators Add Course Drop Course Print Schedule the University. om the above menus. Figure 3 The Administrator menu item is as below. It simply allows for printing all information relevant to the present system. Descriptions for required output will be mentioned later. UniversityGUI Eile Students Administrators Weld Print All Info ersity. Choose an action from the above menus. Figure 4
Expert Answer:
Posted Date:
Students also viewed these computer network questions
-
Activity 14 Use the classroom data set to test the following two claims: 1) Less than 20% of the population is left-handed. This is a claim about a population proportion. Please test at the .05 level...
-
Predictive text entry systems are familiar on touch screens and mobile phones. This question asks you to consider how the same principles might be used in a programming editor for creating Java code....
-
see below questions and provide me adjusted coding by using my coding. I share my coding and test failure message at the end. 1. BST.java 2.BSTNode.java Binary Search Tree you will be coding the...
-
A portfolio manager estimates that the volatility of her daily portfolio returns is 1.2%. She also expects this portfolio to bring a return of 6% per year. Assume that there are 252 trading days in a...
-
Objective: Learn how to use the VLOOKUP function for payroll calculations. a. Read the section titled Data in Different Places and create the spreadsheet illustrated in Exhibit 6. Print a screen shot...
-
Evaluate the integral. Seve a dx
-
What roles are played by the CICA, the CGAAC, and the SMAC for their members?
-
A. Richard McCarthy (born 2/14/64; Social Security number 100-10-9090) and Christine McCarthy (born 6/1/1966; Social security number 101-21-3434) have a 19-year-old son (born 10/2/99 Social Security...
-
QUESTION 1: How much is the balance of Share Options Outstanding at the end of 2018? QUESTION 2: How much is the Compensation Expense for 2019? . CASE 4 Vesting condition ?? Employees must remai...
-
a. In 2021 Navarro Corp. implemented a program to improve product quality. The quality program focused on training the managers responsible for the purchase of raw materials. The quality program also...
-
Watch the following video and summarize how we can pMention three moments in the employment relationship in which special care must be taken not to substantiate them or invoke criteria based on the...
-
Please summarize the video below explaining the the main points of the video Engaging Stakeholders for Environmental Conservation in Mongolia https://www.youtube.com/watch?v=2b11rHIQnbk
-
1. Be able to summarize the steps in the scientific method. 2. What is the purpose of an abstract? How is it useful to the reader? 3. What is the basic structure of an introduction? What does this...
-
Make the pullet point in a paragraph and summarize it "Input: Data: includes information about the existing disparities in access to digital technologies and skills among the workforce. Workforce...
-
Using 3 to 4 sentences, summarize the article 'managing virtual teams'. Specifically, address the following criteria: Summarize the source in three to four sentences. Clearly reference the author's...
-
A football is launched from a cannon aimed at angles of 7 5 degrees, 6 0 degrees, and 4 5 degrees. For which angle does the football travel the farthest, if there is no air resistance and the speed...
-
To balance the chemical equation SiH3 + O2 SiO2 + HO, you could introduce coefficients a, b, c, d and write aSiH3 + bO2 cSiO + dHO then write linear equations for each element. The equation for Si...
-
Daniel Charon is the loan officer of the Georgian Bay Bank. Georgian Bay Bank has a loan of \($540,000\) outstanding from Regional Delivery Service Ltd., a company specializing in the delivery of...
-
For each of the following quality control procedures taken from the quality control manual of a medium-sized regional public accounting firm, identify the applicable element of quality control from...
-
In light of recent business failures, the public has expressed concern about the usefulness of the financial statement audit and the auditor's report. Because of these concerns, the accounting...
Study smarter with the SolutionInn App