what are the different type of error occur in a java program? write their names and explain each in brief
Answers
Answered by
0
There are three kinds of errors: syntax errors, runtime errors, and logic errors. These are errors where the compiler finds something wrong with your program, and you can't even try to execute it.
HOPE THIS HELPS U
HAPPY NEW YEAR☺
Answered by
3
There are three kinds of errors: syntax errors, runtime errors, and logic errors. These are errors where the compiler finds something wrong with your program, and you can't even try to execute it.
- Syntax errors - It is an error in the syntax of a sequence of characters or tokens that is intended to be written in compile-time. A program will not compile until all syntax errors are corrected.
- Runtime errors - It is a software or hardware problem that prevents Internet Explorer from working correctly. Runtime errors can be caused when a website uses HTML code that is not compatible with the web browser functionality.
- Logic errors - It is a bug in a program that causes it to operate incorrectly, but not to terminate abnormally. A logic error produces unintended or undesired output or other behaviour, although it may not immediately be recognized as such.
Similar questions