ICSE Class 10 Computer Applications Question 9 of 32

Input in Java — Question 9

Back to all questions
9
Question

Question 9

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?

Answer

This is a Logical error.