Computer Science, asked by sampurna20, 1 year ago

defination of runtime error in java.​

Answers

Answered by chahu2123
1

Compile time error is any type of error that prevent a java program compile like a syntax error, a class not found, a bad file name for the defined class, a possible loss of precision when you are mixing different java data types and so on. A runtime error means an error which happens, while the program is running.

Answered by siddhartharao77
3

Short notes on Runtime Error:

⇒ Runtime errors are those which are resulted during program execution when the normal user enters invalid input at runtime.

⇒ Languages like Java is able to address the run time errors effectively by using a concept of exception handling.

⇒ Runtime errors of java program is known as Exception.

⇒ Hence Java is considered as robust language because of the inbuilt facility called exception handling.

Hope it helps!

Similar questions