Question: Given two array that holds the information about various of stationary items and its cost. Write a java code that uses three threads, in
Given two array that holds the information about various of stationary items and its cost. Write a java code that uses three threads, in which the first thread performs the task of removing the details of a particular item which is taken as input from the user and the second thread that performs the task of removing the amount of the given stationary item. The third thread displays the price of the item given the item name. Assume that the 2 arrays has the following items. Array 1 Array 2 Pen 15 Pencil Eraser Sketch 5 6 30 Paper 10
Step by Step Solution
3.47 Rating (154 Votes )
There are 3 Steps involved in it
class RemoveStationaryDetails implements Runnable String items String item public RemoveStationaryDe... View full answer
Get step-by-step solutions from verified subject matter experts
