Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

The following code causes an exception error:

The following code causes an exception error:

import java.io.BufferedReader;
import

java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;

public class Ex02 {

public static void main(String[] args) throws IOException {

BufferedReader userInput = new BufferedReader
(new InputStreamReader(System.in));

ArrayList<String> myArr = new ArrayList<String>();
myArr.add(“Zero”);
myArr.add(“One”);
myArr.add(“Two”);
myArr.add(“Three”);
System.out.println(myArr.get(6)_;

}
}

Starting with this provided code, add the following functionality:

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"