26th November 2019


What is the semantic error?

Definition of: semantic error. semantic error. Writing invalid program logic that produces incorrect results when the instructions are executed. The syntax of the source code may be valid, but the algorithm being employed is not.

What is semantics in Java?

Syntax refers to formal rules governing the construction of valid statements in a language. Semantics refers to the set of rules which give the meaning of a statement. Errors due to syntax occur in a program when ruels of the programming language are violated or misused.
Write Your Answer


100% people found this answer useful, click to cast your vote.

5 / 5 based on 2 votes.


Press Ctrl + D to add this site to your favorites!