Run ❯
Get your
own Java
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
public class Main { public static void main(String[] args) { int x = 10; int y = 3; System.out.println(x + y); // 13 System.out.println(x - y); // 7 System.out.println(x * y); // 30 System.out.println(x / y); // 3 System.out.println(x % y); // 1 int z = 5; ++z; System.out.println(z); // 6 --z; System.out.println(z); // 5 } }
13
7
30
3
1
6
5