0
Java program using try and catch block
to read an integer value and display it using scanner class
1 Respuesta
0
class A{
public static void main(String[] args){
try{
int I=1;
System.out.println(I÷0)
}catch(Exception e){
e.printStackTrace()
}
}//main close
}// class close