What type of error is present in the underlined Java code sample below?
public static void main(String[] args)
{
/*Add 1 + 1 and print the results
int result = 1 + 1;
System.out.println(result);
}
O Logic
O Arithmetic
O Runtime
O Syntax

Q&A Education