Answer:
Semantic or Syntax errors are errors in the way a programmer has written his code. The code does not conform to language standards and is incorrect.
Ex:
for(int i = 0, i++, i<10) {
}
The above is a syntactically incorrect declaration of a for loop in Java. The compiler would not let you compile this code successfully.