Computer Applications
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?
Input in Java
11 Likes
Answer
This is a Runtime error.
Answered By
6 Likes
Related Questions
A program has compiled successfully without any errors. Does this mean the program is error free? Explain.
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?
If a student forgot to put a closing quotation mark on a string, what kind error would occur?
What is a java package? Give an example.