ICSE Class 9 Computer Applications Question 10 of 13

Input in Java — Question 10

Back to all questions
10
Question

Question 10

A program has compiled successfully without any errors. Does this mean the program is error free? Explain.

Answer

Successful compilation of the program only ensures that there are no syntax errors. Runtime and logical errors can still be there in the program so we cannot say that the program is error free. Only after comprehensive testing of the program, we can say that the program is error free.