public class Main { public static void main(String[] args) { try { int a = 10; System.out.println(a); int b = a / 0; System.out.println(b); } finally { return; } } } code example
Example: public class HelloWorld{ public static void main(String []args){ System.out.println("Hello World"); } }
public class HelloWorld{
public static void main(String []args){
System.out.println("Hello World");
}
}