Types of Errors in Java

Run Time Error: Run Time errors occur or we can say, are detected during the execution of the program

Install kaspersky with activation code with the help of kaspersky lab online activation center

For example: if the user inputs a data of string format when the computer is expecting an integer, there will be a runtime error.

Compile Time Error: Compile Time Errors are those errors which prevent the code from running because of an incorrect syntax such as a missing semicolon at the end of a statement or a missing bracket, class not found, etc.

Install office microsoft365.com/setup and office.com/setup enter your product key

Logical Error: A logic error is when your program compiles and executes, but does the wrong thing or returns an incorrect result or no output when it should be returning an output

Accidentally using an incorrect operator on the variables to perform an operation (Using '/' operator to get the modulus instead using '%')

norton renew norton com setup uk  office.com/setup

 

posted @ 2020-10-08 14:41  OFFICE  阅读(46)  评论(0编辑  收藏  举报