Search:

Type: Posts; User: vijayinani

Search: Search took 0.62 seconds.

  1. Replies
    3
    Views
    2,934

    Re: Java Multithreading Example - Issues

    this is working fine.



    package com.oracle;

    import java.util.Random;

    class Visitor implements Runnable {
    ThreadExample t;
  2. Replies
    3
    Views
    2,934

    Re: Java Multithreading Example - Issues

    import java.util.Random;

    class VisitorSchool implements Runnable {
    DrivingSchool drivingSchool;

    public VisitorSchool(DrivingSchool drivingSchool) {
    this.drivingSchool = drivingSchool;
    }...
  3. Replies
    3
    Views
    2,934

    Java Multithreading Example - Issues

    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...
Results 1 to 3 of 3