Question

5. A. Draw a class diagram showing possible inheritance relationships among classes Person, Employee, and Manager....

5. A. Draw a class diagram showing possible inheritance relationships among classes Person, Employee, and Manager. B. Draw a class diagram showing possible inheritance relationships among classes Person, Student, Professor, and Assistant

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Please find the UML diagram below with mentioned class and thier attributes and operations to show inheritance among all the subsequent classes. Feel free to drop in a comment if you don't understand my handwriting anywhere. :)

Add a comment
Know the answer?
Add Answer to:
5. A. Draw a class diagram showing possible inheritance relationships among classes Person, Employee, and Manager....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • a c++ program (The Person, Student, Employee, Faculty, and Staff classes) Design a class named Person...

    a c++ program (The Person, Student, Employee, Faculty, and Staff classes) Design a class named Person and its two subclasses named Student and Employee. Make Faculty and Staff subclasses of Employee. A person has a name, address, phone number, and email address. A student has a class status (freshman, sophomore, junior, or senior). Define the status as a constant. An employee has an office, salary, and date hired. Use the MyDate classto create an object for date hired. A faculty...

  • UML Class Diagram with Inheritance Objectives Use UML Correctly indicate inheritance Demonstrate permissions Understand inheritance relationships...

    UML Class Diagram with Inheritance Objectives Use UML Correctly indicate inheritance Demonstrate permissions Understand inheritance relationships Labwork Please read all of the directions carefully. You will create a UML class diagram reflecting the class hierarchy for a fictional program that manages university personnel as constructed according to the graph displayed below. You will need to think about the attributes and behaviors that are unique to each class, and also those attributes and behaviors that are common amongst the subclasses and...

  • Design a class named Person and its two derived classes named Student and Employee. MakeFaculty and Staff derived classes of Employee

    In Java(The Person, Student, Employee, Faculty, and Staff classes)Design a class named Person and its two derived classes named Student and Employee. MakeFaculty and Staff derived classes of Employee. A person has a name, address, phone number, and e-mail address. A student has a class status (freshman, sophomore, junior, or senior). An employee has an office, salary, and date hired. Define a class namedMyDate that contains the fields year, month, and day. A faculty member has office hours and a rank....

  • Please draw a class diagram for the following classes and relationships We have classes: Instructor, Student,...

    Please draw a class diagram for the following classes and relationships We have classes: Instructor, Student, Main Menu, create account, login, create the student's passwords, create a course, view my courses, create an assignment, view my grades, create a new password And they have the following relations: 1. Instructor and Student can create an account 2. Instructor and student can login 3. Instructor must create the students' password Instructor can create a course, assignment, Instructor can view courses and grades...

  • Java Programming Design a class named Person and its two subclasses named Student and Employee. A...

    Java Programming Design a class named Person and its two subclasses named Student and Employee. A person has a name, address, phone number, and email address. A student has a class status (freshman, sophomore, junior, or senior). Define the status as a constant. An employee has an office, salary, date hired. Define a class named MyDate that contains the fields year, month, and day. Override the toString method in each class to display the class name and the person's name....

  • 1) This exercise is about Inheritance (IS-A) Relationship. A) First, draw the UML diagram for class...

    1) This exercise is about Inheritance (IS-A) Relationship. A) First, draw the UML diagram for class Student and class ComputerSystemsStudent which are described below. Make sure to show all the members (member variables and member functions) of the classes on your UML diagram. Save your UML diagram and also export it as a PNG. B) Second, write a program that contains the following parts. Write each class interface and implementation, in a different .h and .cpp file, respectively. a) Create...

  • 13] Use UML notations to describe the following classes and their relationships. Define relevant private data,...

    13] Use UML notations to describe the following classes and their relationships. Define relevant private data, and the public methods for each class. a) Define a class Person that defines a generic person. b) Define a class Card that define a generic card c) Define a derived class from Person that describes a typical Student. d) Define a derived class from Card that describes a typical Student Card e) Define a derived class from Card that describes a typical Credit...

  • Draw the UML class diagram in Java and write theequivalent Java code.Exercise 6 Person...

    Draw the UML class diagram in Java and write the equivalent Java code.Exercise 6 Person + name: string + age : int=0 Student + grades: list Professor + listofstudents : list

  • Using C++ Instructions Person Student Employee Write a program that simulates the three classes defined as...

    Using C++ Instructions Person Student Employee Write a program that simulates the three classes defined as shown: a. Use name as the only data member for the Person class. b. Use name and gpa as data members for the Student class. c. Use name and salary as data members for the Employee class. Demonstrate the relationship in a main function.

  • Concepts Tested in this Program: Class Design Constructors Objects Inheritance Program:   Design a class named Person...

    Concepts Tested in this Program: Class Design Constructors Objects Inheritance Program:   Design a class named Person and its two subclasses, Student and Employee. Make Faculty and Staff subclasses of Employee. A Person object has a name, address, phone number, and email address (all Strings). A Student Object has a class status (freshman, sophomore, junior, or senior). Define the status as a final String variable. An Employee Object has an office number, salary (both ints ), and a date hired. Use...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT