Virtual Position Forum
Please register to watch content in detail
Thanks
Admin virtual position


Join the forum, it's quick and easy

Virtual Position Forum
Please register to watch content in detail
Thanks
Admin virtual position
Virtual Position Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

try, catch and finally block?

View previous topic View next topic Go down

GMT + 3 Hours try, catch and finally block?

Post by Diya Sun May 29, 2011 3:49 pm

Dear Sir,

In this regard, I have question that when we pass an argument in catch block, we specify argument type, which I think is defined keyword of Java? My actual question, is that is predefined keyword? If no, can we change that word according to our own convenience? Following is the syntax of that code.
catch (FileNotFoundException fnfEx){
...... }
In this code, what is "FileNotFoundException" and what is "fnfEx"? Please clear these concepts....
Regards,
Diya
Diya
Monstars
Monstars

Taurus Goat
Posts : 364
Join date : 2011-02-08
Age : 32
Notworthy

Character sheet
Experience:
try, catch and finally block? Left_bar_bleue10/500try, catch and finally block? Empty_bar_bleue  (10/500)

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum