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
Math,
2 months ago
Biology,
2 months ago
Physics,
6 months ago
Biology,
6 months ago
Business Studies,
1 year ago
Biology,
1 year ago
Social Sciences,
1 year ago