Computer Science a car showroom, a public library, a pharmacy, a clinic, a school(any of these plz) 2- Choose a suitable system scenario which has different interacting entities (at least 3 of them). Write a description of your system and describe each entity with its states and behaviors. Put this description as the introduction of your project report. 3- Using the Unified Modeling Language (UML), design a class diagram for each entity and add them to the project report. There must be at least 3 DIFFERENT CLASSES (The test class is not included). Your classes should demonstrate the following OOP concepts: a. Appropriate package and class declarations. b. Composition relationship. c. Inheritance relationship. d. Encapsulation (turn states and behaviors into attributes and methods). e. Correct access modifiers and data types. f. Constructors and copy constructors. g. Get and set methods (with using this keyword). h. toString() and equals() methods. 4- In the IDE, write a class declaration in java for each class. You should have a separate java file (.java) for each class. Please apply coding principals to your code (that is, using appropriate comments, naming conventions, and indentation). 5- Write a test java application to demonstrate your system. The test code should be placed in a different package called test. Do not forget to include a UML class diagram for this test class in the report. Then, create multiple objects for different classes and test the methods. Take a screenshot of your test output and include it in the report.

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

Computer Science

a car showroom, a public library, a pharmacy, a clinic, a school(any of these plz)

2- Choose a suitable system scenario which has different interacting entities (at least 3 of them). Write a description of your system and describe each entity with its states and behaviors. Put this description as the introduction of your project report.

3- Using the Unified Modeling Language (UML), design a class diagram for each entity and add them to the project report. There must be at least 3 DIFFERENT CLASSES (The test class is not included). Your classes should demonstrate the following OOP concepts: a. Appropriate package and class declarations. b. Composition relationship.

c. Inheritance relationship.

d. Encapsulation (turn states and behaviors into attributes and methods).

e. Correct access modifiers and data types.

f. Constructors and copy constructors.

g. Get and set methods (with using this keyword).

h. toString() and equals() methods.

4- In the IDE, write a class declaration in java for each class. You should have a separate java file (.java) for each class. Please apply coding principals to your code (that is, using appropriate comments, naming conventions, and indentation).

5- Write a test java application to demonstrate your system. The test code should be placed in a different package called test. Do not forget to include a UML class diagram for this test class in the report. Then, create multiple objects for different classes and test the methods. Take a screenshot of your test output and include it in the report.

Expert Solution
steps

Step by step

Solved in 2 steps

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