Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define SeaPortProgram extends JFrame o variables used by the GUl interface o world: World Thing implement Comparable o index: int o name: String o parent: int . World extends Thing o ports: ArrayList o time: PortTime SeaPort extends Thing o docks: ArrayList Dock> que: ArrayList // the list of ships waiting to dock o ships: ArrayList //a list of all the ships at this port o persons: ArrayList //people with skills at this port Dock extends Thing . o ship: Ship Ship extends Thing o arrivalTime, dockTime: PortTime o draft, length, weight, width: double Jobs: ArrayList o index: int o name: String o parent: int . World extends Thing o ports: ArrayList o time: PortTime SeaPort extends Thing o docks: ArrayList Dock> que: ArrayList // the list of ships waiting to dock o ships: ArrayList //a list of all the ships at this port o persons: ArrayList //people with skills at this port Dock extends Thing . o ship: Ship Ship extends Thing o arrivalTime, dockTime: PortTime o draft, length, weight, width: double Jobs: ArrayList

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

Analyse the process of new product of development.

Answered: 1 week ago

Question

Define Trade Mark.

Answered: 1 week ago

Question

What do Dimensions represent in OLAP Cubes?

Answered: 1 week ago