Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
Exception JAVA
SUBMITTED BY:
animehq
DATE:
Sept. 4, 2016, 4:06 p.m.
FORMAT:
Text only
SIZE:
251 Bytes
Raw
Download
Tweet
HITS:
87684
Go to comments
Report
public static void main(String[] args) {
int j = 20, i = 0;
try {
System.out.println(j/i);
} catch (ArithmeticException e) {
System.out.println("Division par zéro !");
}
System.out.println("coucou toi !");
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus