139k views
0 votes
Java question

If the user wants to enter one character what statement you use?

1- next()?

2-next(0)?

3-CharAt(0).

4-next().charAt(0).

1 Answer

6 votes

Answer:

To be honest why would you want to enter one character. Anyways the answer is option 4

User Oeste
by
5.2k points