Errors can be syntax errors or logic errors (the code works, but not as intended).
Which of the following statements contains an error?
I. String firstInitial = firstName.subString(0,3);
II. String lastName = in.nextLine();
III. String name = firstInitial + ". " + lastName;
I only
II only
III only
I and II only
II and III only