Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static void wait(Object monitor) {
        try {
            // Assumes that the monitor is already "synchronized"
            monitor.wait();
        } catch (InterruptedException ex) {
            // suppress
        }
    }
}