Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

public class Main {
    /**
     * Executes a runnable object in a new thread.
     * @param runnable The runnable object.
     */
    public static void executeAsync(final Runnable runnable) {
        new Thread(runnable).start();
    }
}