Skip to content

Gamemod13/MarketSimulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

MarketSimulation

Test task to Java course

This program realizes test task (Sry, I've lost the link). I create a package with all my auxiliary classes. Class List realizes ArrayList collection with one owner, ProductList and UserList extend this class and override some methods, to create different lists. Product and User - it's program objects. Other classes used it. Class MyException realizes exception, when user haven't enough money to bough some product. Class SystemMenu - provides services with other objects, all logic implement in this class. Class Program - consist method main with some statements:

  1. Create object SystemMenu with all products and users, add to list it.
  2. Example with buying by User(to check correct execution).
  3. Launching menu with all variants to work with these objects.

Run the program from this class

About

Test task to Java course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages