Skip to content

Commit 2421f75

Browse files
committed
Experiment 7_3
1 parent 79a9f57 commit 2421f75

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import java.util.*;
2+
class Exp7_3{
3+
public static void main(String[] args) {
4+
try{
5+
x = Integer.parseInt(args[0]);
6+
y = Integer.parseInt(args[1])
7+
}
8+
catch(NumberFormatException e){
9+
System.out.println("Not an Integer!");
10+
}
11+
}
12+
}

0 commit comments

Comments
 (0)