Computer Applications
Related Questions
Distinguish between the following:
next() and nextLine()
A program needed to read an integer, but the user entered a string instead, and an error occurred when the program was executed. What kind of error is this?
A student was asked to write a program for computing the area of a rectangle and he, mistakenly, wrote the program to compute the perimeter of a rectangle. What kind of error is this?
Explain the use of import statement with an example.