Computer Applications
What are delimiters? Which is the default delimiter used in the Scanner class?
Input in Java
50 Likes
Answer
A delimiter is a sequence of one or more characters that separates two tokens. The default delimiter is a whitespace.
Answered By
27 Likes
Related Questions
Explain data input technique in a program using the Scanner class.
Suppose you want to use the class MyClass of the package MyPackage.UtilityLibrary in a program you are writing. What do you need to do to make the following?
i. class MyClass available to your program
ii. all the classes of the package available to your program
What are errors in a program?
Explain the following terms, giving an example of each.
i. Syntax error
ii. Runtime error
iii. Logical error