Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

What is the difference between Error and Exception? java

public class ErrorExample {
   public static void main(String[] args){
      recursiveMethod(10)
   }
   public static void recursiveMethod(int i){
      while(i!=0){
         i=i+1;
         recursiveMethod(i);
      }
   }
}
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #What #difference #Error #java
ADD COMMENT
Topic
Name
8+9 =