Computer Applications
Which of the following statement is true for logical errors?
- The compiler does not detect these errors.
- 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.
- All of the above
Input in Java
3 Likes
Answer
All of the above
Answered By
1 Like
Related Questions
A programmer wrote the following statement:
netPay = grossPay + providentFund;instead of:netPay = grossPay - providentFund;Assuming all the unseen code is correct, what kind of error is it?Which of the following might make the Java compiler report a syntax error in a particular line of a program?
Which keyword do you use to include a class in your program?
Which of the following is not a valid method of the Scanner class?