ICSE Class 10 Computer Applications
Question 23 of 32
Input in Java — Question 1
Back to all questions 1
Question Question 1
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?
- Syntax error
- Runtime error
- Logical error ✓
- None of these