What is the difference between Semantic Errors and Logical Errors?
I couldn't find any other posts that had this in it..so sorry if I cross-posted.
Thank you very much
What is the difference between Semantic Errors and Logical Errors?
I couldn't find any other posts that had this in it..so sorry if I cross-posted.
Thank you very much
Semantic Errors:--It is something when someone mistype the java syntax.it is checked at the compile time.
Logical Errors:--It is the error in ur programm logic.may be ur coding has infinite loop,or array index out of bound errors.
this kind of errors are remain unchecked at the compile time.they are known as runtime error
But I thought that when you mistype the java syntax it is the syntax error not the semantic error
Facinating that nobody uses Google anymore...
Java Tutorial -- 14: Compilation Errors
Luck,
CJSL