Question: Java code only. 16.4 A database for Cars Create a class Car, with attributes type (a String) and color (of type Color.) Give it the

Java code only.
16.4 A database for Cars Create a class Car, with attributes type (a String) and color (of type Color.) Give it the basic methods it needs. Create a class with an object in it from type Map. The key is a license plate (a String), the value a Car. Then fill the Map with some Cars, print the content, and empty it again. 16.4 Going shopping A shop has four counters. Write an application simulating each counter by a Dequeue. At random intervals, people arrive at a row, and at random intervals, people pay and leave a row. Write every change to the console. Hint: this one seems simpler than it actually is. First design the algorithm
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
