What are the two main types of errors in Java programming?
Execution errors and debugging errors
Input errors and output errors
Compilation errors and runtime errors
Syntax errors and logic errors