this is working fine.
package com.oracle;
import java.util.Random;
class Visitor implements Runnable {
ThreadExample t;
Type: Posts; User: vijayinani
this is working fine.
package com.oracle;
import java.util.Random;
class Visitor implements Runnable {
ThreadExample t;
import java.util.Random;
class VisitorSchool implements Runnable {
DrivingSchool drivingSchool;
public VisitorSchool(DrivingSchool drivingSchool) {
this.drivingSchool = drivingSchool;
}...
Hi,
Problem statement - 5 visitors come to a car showroom having 3 cars. The visitors take a test drive for random time and the other visitors have to wait till a car becomes free. This has to be...