Computer Science, asked by Shanti115, 7 months ago

how to write constructor program in scanner class​

Answers

Answered by Anonymous
2

Answer:

The Scanner class is a class in java.util package, which allows a user to read values of various types.

The Scanner looks for tokens in the input. A token is a series of characters that ends with whitespace. A whitespace character can be a blank, a tab character, a carriage return, or the end of the file.

For example, if we read a line that has a series of numbers separated by blanks, the scanner will take each number as a separate token.✔️❤️✌️✨

hope this helps ❤️✌️✨⬇️

mark as brainliest answer ✨✔️

Similar questions