+ 11
What is runtime error in java???????
7 Antworten
+ 6
A runtime error means an error which happens, while the program is running
For example, division by zero.
+ 5
Thank u
+ 3
A runtime error is a program error that occurs while the program is running.
+ 2
Run time Errors means Exceptions
+ 2
This is different from compilation errors.
+ 1
When you run a program it goes from two steps
1. compile: it only check syntax and translate program into machine language
2. Run: after code is sucessfully compiled it will run and that time if any error is occured then it is known as runtime error.
0
Run time errors are errors of logic primarily. Due to something the programmer has overlooked, the program crashes.
e.g. division by 0, accessing a variable without initializing it first etc.