KnowledgeBoat Logo
|

Computer Applications

Which of the following statement is true for logical errors?

  1. The compiler does not detect these errors.
  2. There is no indication of error when the program is executed.
  3. The program may produce correct results for some input data and wrong results for other input data.
  4. All of the above

Input in Java

8 Likes

Answer

All of the above

Reason — The compiler does not detect logical errors and there is no indication of error when the program is executed. The program may produce correct results for some input data and wrong results for other input data.

Answered By

4 Likes


Related Questions