Welcome to Westonci.ca, where your questions are met with accurate answers from a community of experts and enthusiasts. Discover precise answers to your questions from a wide range of experts on our user-friendly Q&A platform. Explore comprehensive solutions to your questions from knowledgeable professionals across various fields on our platform.

Errors can be syntax errors or logic errors (the code works, but not as intended).
Which of the following statements contains an error? (2 points)
1. System.out.print ("Please enter your age in years: ");
II. String userAge = in.next();
III. int ageInYears = integer.ParseInt (userAge);
O 1) I only
2) II only
3) III only
4) I and II only
5) II and III only