Computer Science, asked by kumarkrahul80, 4 months ago

Which statement is used to take character input from a user?



char operator = scanner.charAt(0);



char operator = scanner.next();



char operator = next().charAt(0);



char operator = scanner.next().charAt(0)​

Answers

Answered by pg2122777
1

Answer:

It's

char operator= s1.next().charAt(0);

Explanation:

Hope it helped...

Similar questions