Write a java program that would simulate a number of cars


Task 1-

Write a JAVA program that would perform following tasks:

  • Create Table: Create a table that is capable to store above information.
  • Insert Record: If the user of your program wants to insert a record, your program should ask for all the fields of the record and insert them in the table.
  • Search: The user of your program should be able to search a particular record by ID or any other field.
  • Calculate final score: Take a student's ID as input and displays his/her score in each item. It also should calculate and display the final score where final score = 10%(Assignment 1) + 20%(Assignment 2) + 20%(Assignment 3) + 50%(Final exam).

Task 2

Write a JAVA program that would simulate a number of cars' (e.g. 4) speed meter using the concept of Multithreading. A car's speed can be both increased and decreased using specified keys from the keyboard. The speed of all the cars should be displayed on the screen both in text format and graphically simultaneously.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Write a java program that would simulate a number of cars
Reference No:- TGS01082329

Expected delivery within 24 Hours