package org.cocktailmolotov.partyplanner;

import java.io.IOException;

/**
 * Created by maxime on 06/02/16.
 */
public class Main {

    public static void main(String args[]) throws IOException {
        System.out.println("Hello World");
        System.in.read();
        System.out.println("I read !");
    }
}
package org.cocktailmolotov.partyplanner;

import java.io.IOException;

/**
 * Created by maxime on 06/02/16.
 */
public class Main {

    public static void main(String args[]) throws IOException {
        System.out.println("Hello world ! How are you ?");
        String blob = System.console().readLine();
        System.out.println("Yeah, Me too ...");
    }
}
read from console