It's too short. Write at least 20 characters to explain it well.
Your answer can't be empty
North America is bordered in the north by the Artic Ocean, in the east by the Atlantic Ocean, and in the west by the Pacific Ocean. Also, the Caribbean Sea is to North America's southeast.
Answer: A. True
Explanation:The Scanner class methods are methods in java.util, which allows the user to read values of various types. This problem occurs as you hit the enter key, which is a newline \n character. nextInt() consumes only the integer, but it skips the newline \n.
To fix this problem, you have to add the input.nextLine() after reading the int as this will consume the \n.
Therefore, make input.nextLine(); call after input.nextInt(); which reads till end of line.