Computer Applications
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?
Input in Java
10 Likes
Answer
This is a Logical error.
Answered By
6 Likes
Related Questions
What is a java package? Give an example.
A program has compiled successfully without any errors. Does this mean the program is error free? Explain.
Explain the use of import statement with an example.
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?