Computer Science, asked by katherine89, 5 months ago

what is semantic error in java​

Answers

Answered by Anonymous
0

Answer:

Explanation:

You can see a semantic error when the syntax of your code is correct but the code usage isn't correct. The most common semantic error is one in which the code uses a variable that isn't initialized properly. ... For example, if you try to assign a float to an int variable, the compiler displays an error message.

Answered by shan995
0

Answer:

You can see a semantic error when the syntax of your code is correct but the code usage isn't correct. The most common semantic error is one in which the code uses a variable that isn't initialized properly. ... For example, if you try to assign a float to an int variable, the compiler displays an error message. PLZ MARK ME AS BRAINLIEST ANSWER AND FOLLOW ME.

Similar questions