answersLogoWhite

0


Best Answer

Because by the laws of mathematics, you cannot divide anything by zero. So you will have to adjust your code to allow for that fact.

User Avatar

Wiki User

6y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why any number divide by zero bring error in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is number format exception in java?

That may happen when Java tries to parse a String, to convert it into a number. In this case, if the String doesn't contain a valid number - or perhaps if it contains additional symbols not appropriate for a number - you may get this error.


Java error click for details?

error .click for details


How do you stop the error 'java' is not recognized as an internal?

This error usually means that Java has not been installed on your computer. If you are not prompted to install it, visit the Java website to download it separately.


What type of errors we have in Java programming?

syntax error, Runtime error, Longic error


What is syntax errors in java?

Runtime errors in Java means that there is some code error existing in your computer and it is impossible for you to deal with it by yourself unless you are the you're the applet's designer and change the code. Most of the time, runtime errors in Java will appear error message just like: "Java(TM) Plug-in Fatal Error Several Java Virtual Machines running in the same process caused an error." "Java(TM)Plug-in Fatal ERror the Java Runtime Environment cannot be loaded."

Related questions

What is number format exception in java?

That may happen when Java tries to parse a String, to convert it into a number. In this case, if the String doesn't contain a valid number - or perhaps if it contains additional symbols not appropriate for a number - you may get this error.


Java error click for details?

error .click for details


How do you stop the error 'java' is not recognized as an internal?

This error usually means that Java has not been installed on your computer. If you are not prompted to install it, visit the Java website to download it separately.


What type of errors we have in Java programming?

syntax error, Runtime error, Longic error


What does it mean when the Minecraft demo won't work?

When this happens it could be a number of things, either you could have a problem with the demo itself where you may not have activated your account or it has run out or it could be a java error. To fix the java error I recommend simply installing the latest version.


Where can someone find information on the Java language for no such method error be found?

"No such method" is an error message that may appear when attempting to create a program with Java. Users who understand the Java programming language can find an answer on websites such as Stack Overflow and Crafting Java.


What does the strait of sundae divide?

Sumatra from Java


It is not an error not to end a Java file name with the java extension?

If you want to compile a java program the name of that source code must end with extension .java


What is the way to get rid of Java lang no class deffound error?

To get rid of the Java lang no class deffound error, one must add the class or .jar file which contains this class into the Java classpath. When a Java class is run from the command line, one must add a dot (.)


What is syntax errors in java?

Runtime errors in Java means that there is some code error existing in your computer and it is impossible for you to deal with it by yourself unless you are the you're the applet's designer and change the code. Most of the time, runtime errors in Java will appear error message just like: "Java(TM) Plug-in Fatal Error Several Java Virtual Machines running in the same process caused an error." "Java(TM)Plug-in Fatal ERror the Java Runtime Environment cannot be loaded."


What happen if you declare class as recursive?

It will get a compiler error in Java.


Why java script called as platform independent?

java also called as platform independent.because we will use java application at any operationg system and any hardware. it not contain error. so we called java as platform independent..