Quiz: Compile-Time and Runtime Errors 2
What kind of error is
System.out.print("My lucky number is"); System.out.println(3 + 4 + 5);
- Compile-time (syntax) error
- Runtime (logic) error
The program compiles, but there is no space between
is
and 12
!