Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class test {
- public static void senza() {
- int a = 1/0;
- }
- public static void con() {
- try {
- int a = 1/0;
- }
- catch (Exception e) {
- System.out.println("eccezione!!!");
- }
- }
- public static void main(String[] args) {
- System.out.println("INIZIO TEST\n \n");
- senza();
- System.out.println("\n \nFINE TEST");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement