Name the methods of Scanner class that: [2]
(i) is used to input an integer data.
(ii) is used to input String data.
Answers
Answered by
3
Answer:
(ii) is used to input string data
Explanation:
when you use string as an input object fir scanner class, you can also use regular expression with it.
Answered by
1
(ii.) is correct
hope it helps
Similar questions