UML diagram for this project

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%

I'am want a UML diagram for this project

Use OOP principles that you have learned so far to design and write a java program
to
school Management System.
Features.
* Add Employee (Principal/ Teacher) details.
* Add Student details.
* Add Subjects details.
• Display salaries of Employees.
• Finding the number of students registered in a particular subject
• Sava All details about Teachers, Students and Subjects to binary file with name
"project.dat".
Classes of School Management System.
1. School class [that contains main method].
2. Employee class.
3. Principal class.
4. Teacher class.
5. Student class.
6. Subject class
Explain the project
Employee class should contains:
1. Fields : Employee Name, Employee id, Employee Address, Employee phone
number, Employee Email, Employee basicsalary, Employee liveExpensive.
2. Constructors: no-args constructor, constructor that takes all fields and store it in
the class.
3. Mutators && Accessors methods
4. tostring) to print Employee details.
5. Abstract method to calculate salary to employee. As name getsalary method.
Principal class that inherit Employee class should contains;
1. Fields : PrincipalBonus()ll e
2. Constructors: no-args constructor, constructor that takes all fields and store it in
the class.
3. Mutators && Accessors methods
4. testrioe) to print Principal details.
5. Calculate a total salary to Principal. As name getsalary method.
Teacher class that inherit Employee class should contains:
1. Fields : number of classes he teaches (classNo).
2. Constructors: no-args constructor, constructor that takes all fields and store it in
the class and copy sonstrustac
3. Mutators && Accessors methods
4. tostring) to print Teacher details.
5. calculate a total salary to Teacher. As name getsalarv) method.
Notes :
• The living Expensive is only 10% of the basic salary
• The teacher's salary is the basic salary in addition to the living Expensive, and 20
dinars are added to it for every class he teaches.
Transcribed Image Text:Use OOP principles that you have learned so far to design and write a java program to school Management System. Features. * Add Employee (Principal/ Teacher) details. * Add Student details. * Add Subjects details. • Display salaries of Employees. • Finding the number of students registered in a particular subject • Sava All details about Teachers, Students and Subjects to binary file with name "project.dat". Classes of School Management System. 1. School class [that contains main method]. 2. Employee class. 3. Principal class. 4. Teacher class. 5. Student class. 6. Subject class Explain the project Employee class should contains: 1. Fields : Employee Name, Employee id, Employee Address, Employee phone number, Employee Email, Employee basicsalary, Employee liveExpensive. 2. Constructors: no-args constructor, constructor that takes all fields and store it in the class. 3. Mutators && Accessors methods 4. tostring) to print Employee details. 5. Abstract method to calculate salary to employee. As name getsalary method. Principal class that inherit Employee class should contains; 1. Fields : PrincipalBonus()ll e 2. Constructors: no-args constructor, constructor that takes all fields and store it in the class. 3. Mutators && Accessors methods 4. testrioe) to print Principal details. 5. Calculate a total salary to Principal. As name getsalary method. Teacher class that inherit Employee class should contains: 1. Fields : number of classes he teaches (classNo). 2. Constructors: no-args constructor, constructor that takes all fields and store it in the class and copy sonstrustac 3. Mutators && Accessors methods 4. tostring) to print Teacher details. 5. calculate a total salary to Teacher. As name getsalarv) method. Notes : • The living Expensive is only 10% of the basic salary • The teacher's salary is the basic salary in addition to the living Expensive, and 20 dinars are added to it for every class he teaches.
The Principal's salary is the basic salary in addition to the living Expensive and
the Principal's Bonus
Student class should contains;
1. Fields : Student id Student Name, Student level.
2. Constructors: no-args constructor, constructor that takes all fields and store it in
the class and copy senstructori
3. Mutators && Accessors methods
4. tostring) to print Student details.
Subject class should contains;
1. Fields : Subject Name, Teacher object, Student object.
2. Constructors: constructor that takes all fields and store it in the.
3. Mutators &8& Accessors methods
4. tostring) to print Subject details.
School class (that contains main method).
1. Create arravlist oOR array of Students to store object of students.
2. Create object of Principal.
3. Create arraylist oOR array of Teacher to store object of teachers.
4. Create arraylist OR array of Subject to store object of subjects.
When the program runs, the following choices appear.
* Add Employee
2- Add Student.
3- Add Subject.
4- Show Subjects.
5- Show Employees Salaries.
6- Count of student in any subject.
7- Save data in file
8- Exit,
Enter your choice:
Notes:
• When choose 1 or 5 show display menu to choose 1. Principal 2. Teacher.
• When choose 3 to add Subject:
Q Display names of exists Teachers and students.
g should choose object of student and object of Teacher form exiting
objects only.( Pass any object of student and object of teacher that does
not exist. The course is not added),
* when choose 6 ask user to enter subject to know How many students are
registered in this subject?
• When choose 7 All Students details, All Teachers details and All Subjects
details(Subject Name , Teacher Name Student Name) store in binary file.
• Exit of project when choose 8 only
• When you run the project again it is read all the objects stored in the file and
deal with them
wanted : UML Diagram.
Transcribed Image Text:The Principal's salary is the basic salary in addition to the living Expensive and the Principal's Bonus Student class should contains; 1. Fields : Student id Student Name, Student level. 2. Constructors: no-args constructor, constructor that takes all fields and store it in the class and copy senstructori 3. Mutators && Accessors methods 4. tostring) to print Student details. Subject class should contains; 1. Fields : Subject Name, Teacher object, Student object. 2. Constructors: constructor that takes all fields and store it in the. 3. Mutators &8& Accessors methods 4. tostring) to print Subject details. School class (that contains main method). 1. Create arravlist oOR array of Students to store object of students. 2. Create object of Principal. 3. Create arraylist oOR array of Teacher to store object of teachers. 4. Create arraylist OR array of Subject to store object of subjects. When the program runs, the following choices appear. * Add Employee 2- Add Student. 3- Add Subject. 4- Show Subjects. 5- Show Employees Salaries. 6- Count of student in any subject. 7- Save data in file 8- Exit, Enter your choice: Notes: • When choose 1 or 5 show display menu to choose 1. Principal 2. Teacher. • When choose 3 to add Subject: Q Display names of exists Teachers and students. g should choose object of student and object of Teacher form exiting objects only.( Pass any object of student and object of teacher that does not exist. The course is not added), * when choose 6 ask user to enter subject to know How many students are registered in this subject? • When choose 7 All Students details, All Teachers details and All Subjects details(Subject Name , Teacher Name Student Name) store in binary file. • Exit of project when choose 8 only • When you run the project again it is read all the objects stored in the file and deal with them wanted : UML Diagram.
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY