Computer Science, asked by siddharthpandat0125y, 3 months ago

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 keerthana5137
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 Anonymous
1

(ii.) is correct

hope it helps

Similar questions