135k views
3 votes
What Java object is used to parse the keywords entered by the user?

a. Scanner
b. Parser
c. InputProcessor
d. KeywordAnalyzer

User Nietras
by
8.3k points

1 Answer

0 votes

Final answer:

The Scanner object in Java is used to parse keywords entered by the user.

Step-by-step explanation:

The Scanner object in Java is used to parse the keywords entered by the user. It is part of the java.util package and provides methods to read various types of input, including text from the user. By using the Scanner class, you can easily retrieve the keywords entered by the user and process them accordingly.

User Ilyankou
by
7.7k points