Yes Srikkanth..
What i wanted to show you was that we can catch Runtimeexceptions...(first exception..in try block)
or if you dont..the runtime environment handles it..(second one without try-catch block)
Hope you doubt is cleared..
Also look at srinivas's post..he has rightly pointed out..
Any class that's an instance of java.lang.Throwable can be caught.
Checked exceptions..you have to catch....in try catch block
Unchecked ...you can catch if you want..or you need not catch it..Its your decision..