Computer Science, asked by sanpacifier, 1 year ago

Different method under scanner class

Answers

Answered by princess168
1
Hope it will help you
Attachments:

princess168: plz mark me as brainliest
princess168: ??
Answered by Meghanath777
1
There are various ways to read input from the keyboard, the java.util.Scanner class is one of them.

The Java Scanner class breaks the input into tokens using a delimiter that is whitespace bydefault. It provides many methods to read and parse various primitive values.

Java Scanner class is widely used to parse text for string and primitive types using regular expression.

Java Scanner class extends Object class and implements Iterator and Closeable interfaces.


Meghanath777: Which do you think is the brainliest answer?
Similar questions