Question 10: (Multiple Choice – 10 Points)Identify the error…
Question 10: (Multiple Choice – 10 Points)Identify the error in the following code snippet: ArrayList books = new ArrayList(); books.add(“Java Basics”); books.add(“Data Structures”); books[2] = “Algorithms”; System.out.println(books.get(2));
Read Details