Академический Документы
Профессиональный Документы
Культура Документы
Partial 1
Topics
Java Revision: Primitive types, Wrapper class, primitive type conversions, String to primitive type
casting, Conditionals (if-else, switch-case, and Ternary), Loops (for, while, do-while, for-each), Input
(Scanner, and JOptionpane), Random numbers (random numbers between min and max), Arrays,
Methods, and simple enum type.
UML Class diagram (Association, Aggregation, Composition), Video of Lucidchart about class diagram
Concept only: OOP principals (Inheritance, Polymorphism, Encapsulation)
Simple Inheritance
Constructors (Overloading)
Setters and getters
Override (toString())
Concept only: Model-View-Controller (MVC)
Serializable
Online Retail Store Management
Task Description
There is a Retails store:
Scenario: The inventory should be filled with 3 products and random amount of
each based on the budget. In each iteration you calculate sales, update the
budget and buy products again based on the budget. The Retail Store receives
orders 3 times (can have only 5 customers at each iteration). Each customer can
have one order and between 1-3 randomly chosen products in each order. If the
order is not in the inventory the store ignores the order.
ATTENTION: This application does not receive data from the user input. This
application is a simulation. You run it and it prints the results. (If you use
joptionpane your grade will be from 4)
Deliverables/Entregables- Time
Make a MS Word file (name it like this: Group1.docx)which contains:
1. The complete name/surname of all participants ()/ Number of the Group (Group of the maximum 4)
2. One paragraph of the Description of your solution and the explanation of your UML model. Inheritance (Correct
Class format, Correct connections)
3. UML Class Diagram (PNG, JPG) (Must include: Association, Aggregation, Composition, Inheritance)
4. Snapshots/images of all code and the results
5. If you have any doubts, questions, or uncertainty write a paragraph describing it.
6. Each group has one task from top and one task from the bottom with exact number of the group. For example
group 1 takes task 1 from top and the bottom