repl.it
@JOHNATHANSMITH2/

Java thingy

Java

No description

fork
loading
Files
  • Main.java
  • jdt.ls-java-project
Main.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import java.util.Scanner;
import java.lang.Math;
import java.util.ArrayList;
class t2_lesson1_template{
//Term 2 Lesson 1: ArrayList
   public static void main(String[]args){
ArrayList<String> stuff = new ArrayList<String>();
stuff.add("Z");
stuff.add("f");
stuff.add(2, "W");
stuff.remove(1);
stuff.add("x");
System.out.println(stuff);
}

}
Fetching token
?