Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Main {
- public static void main(String args[]) {
- try {
- throw 10;
- }
- catch(int e) {
- System.out.println("Got the Exception " + e);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement