What is runtime error in java??????? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 11

What is runtime error in java???????

6th May 2020, 1:56 PM
Pavithra Kanmanirajah
Pavithra Kanmanirajah - avatar
7 Answers
+ 6
A runtime error means an error which happens, while the program is running For example, division by zero.
6th May 2020, 6:30 PM
Suheib Alabed
Suheib Alabed - avatar
+ 5
Thank u
7th May 2020, 6:01 AM
Pavithra Kanmanirajah
Pavithra Kanmanirajah - avatar
+ 3
A runtime error is a program error that occurs while the program is running.
6th May 2020, 2:11 PM
Arsenic
Arsenic - avatar
+ 2
Run time Errors means Exceptions
6th May 2020, 6:34 PM
Mohammad Yahya Azhar
Mohammad Yahya Azhar - avatar
+ 2
This is different from compilation errors.
7th May 2020, 11:10 PM
Sonic
Sonic - avatar
+ 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.
7th May 2020, 2:45 PM
Deepak Arya
Deepak Arya - avatar
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.
7th May 2020, 5:52 AM
Rayan Aradha
Rayan Aradha - avatar