[Solved] Following True List Wordlist New Arraylist Wordlistadd Hello Wordlistget 99 Runtime Error Q37183977
Which of the following is true?
List<String> wordList = new ArrayList<String>();wordList.add(“hello”);wordList.get(99);
there will be a runtime error
there is no error
the code has a syntax (compiler) error
Expert Answer
Answer to Which of the following is true? List wordList = new ArrayList(); wordList.add(“hello”); wordList.get(99); there will be … . . .
OR

