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