repl.it
@noaoh/

EnviousDeliciousSign

Java

No description

fork
loading
Files
  • Main.java
Main.java
1
2
3
4
5
6
7
class Main {
  public static void main(String[] args) {
    int items[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
    int x = items[items.length - 1];
    System.out.println(Integer.toString(x));
  }
}