Mention the syntax to use '?' as a token delimiter.
24 Likes
in.useDelimiter("\\?");Here, 'in' is the Scanner class object
Answered By
12 Likes
What do you mean by scanner class?
Write syntax along with an example to create a scanner object.
Write down the use of nextInt() method.
What is the application of hasNextBoolean( ) method?