+ 2
What is run time error
5 Respuestas
+ 8
Well, it is a logical error what you have write in your code. Compiler only can find syntax errors. Because every language has a define syntax and compiler only understand that language and then it convert them into mechine language. But logical thought is given by you. Like in one of the answer here said, you write a program for division of a number by other. It is syntax error free. But when you enter like 5 divided by 0 it will give you an error. And that is logical error or run time error.
+ 5
Generally, there's two kinds of Exception in Java: checked and unchecked or runtime. Checked errors are checked when the program compile. If this error occurs, you'll not be able to compile your program. Runtime errors allow you to compile successfully but It won't run, instead, it will show error when you run the program.
Hope u understand. Cuz my English is not so good.
+ 1
Maybe this can help you:
http://www.inf.unibz.it/~calvanese/teaching/ip/lecture-notes/uni10/node2.html
+ 1
It is an error that occurs when a program is running and is not detected when the program is compiled.
+ 1
An error which occurs at the time of execution of your code. eg: divide by 0, here no compile time error would occur.