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.
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.
error .click for details
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.
syntax error, Runtime error, Longic error
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."
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.
error .click for details
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.
syntax error, Runtime error, Longic error
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.
"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.
Sumatra from Java
If you want to compile a java program the name of that source code must end with extension .java
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 (.)
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."
It will get a compiler error in Java.
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..