Documentation

GNU Java Compiler
Compiler
GCJ
Name
GNU Java Compiler
Language
Java
Program and version
/bin/sh: 1: gcj: not found
Description
GNU Java Compiler
Type
compiler (shared libs)
Flags1
--main=Main -O2
Flags2
Extension
.java
Status
Deprecated. Please use the JDK compiler.

P68688
class Main {

    public static void main (String args[]) {
        System.out.println("Hello world!");
    }

}
P57548
import java.io.*;
import java.util.*;

class Main {

    public static void main (String[] args) {
        Scanner in = new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        System.out.println(a + b);
    }

}