ICSE Class 10 Computer Applications
Question 24 of 32
Input in Java — Question 2
Back to all questions 2
Question Question 2
Which of the following might make the Java compiler report a syntax error in a particular line of a program?
- The program is typed in the wrong font.
- The line contains a comma (,) instead of a dot (.). ✓
- It is caused by Java runtime.
- Program takes too long to compile.