The scanner class is a class used for a.scanning primitive data types b. getting input from an inputstream c.reading from a file d. all of these
Answers
Answered by
1
Answer:
your answer is (B) is your Answer
Explanation:
please give 300 thanks
Answered by
1
Answer:
d. all of these
Explanation:
used for obtaining the input of the primitive types like int, double, etc. and strings. It is the easiest way to read input in a Java program, though not very efficient if you want an input method for scenarios where time is a constraint like in competitive programming.
Similar questions