repl.it
Java

No description

fork
loading
Files
  • Main.java
  • jdt.ls-java-project
  • MergeSort.java
Main.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class Main {
  public static void main(String[] args) {
    int array[] = new int[10];

		array[0] = 20;

		System.out.println(array[:4]);

		for(int i=0; i < array.length; i++){
			System.out.println(array[i]);
		}

		int num = 3/2;
		System.out.println(num);

  }
}