Suppose ArrayList x contains three strings [Beijing, Singapore, Tokyo]. Which of the following methods will cause runtime errors? (Can be multiple answers)
a) x.add("Paris");
b) x.get(3);
c) x.remove(2);
d) x.set(1, "Seoul");

Q&A Education