Which statement is used to take character input from a user?
A
char operator = scanner.charAt(0);
B
char operator = scanner.next();
C
char operator = next().charAt(0);
D
char operator = scanner.next().charAt(0)
Answers
Answered by
1
Answer:
It's
char operator= s1.next().charAt(0);
Explanation:
Hope it helped...
Similar questions
Math,
2 months ago
Chemistry,
2 months ago
Math,
2 months ago
Physics,
4 months ago
Biology,
4 months ago
Business Studies,
10 months ago
Biology,
10 months ago
Social Sciences,
10 months ago