Documentation

OpenJDK Runtime Environment
Compiler
JDK
Name
OpenJDK Runtime Environment
Language
Java
Program and version
openjdk version '11.0.19' 2023-04-18
Description
OpenJDK Runtime Environment
Type
compiler (vm)
Flags1
Flags2
Extension
.java
Notes
Place all your code inside a Main class, except for problems where the main function is not requested. In the latter case, place all your code in a Solution class (sorry or the inconvenience!).
Status
Ok

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);
    }

}