try, catch and finally block?
Virtual Position Forum :: Members Lounge :: Sciences & Knowledge :: Programing and Design :: Java Forum
Page 1 of 1 • Share
try, catch and finally block?
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,
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- Monstars
-
Posts : 364
Join date : 2011-02-08
Age : 32
Character sheet
Experience:
(10/500)
Similar topics
» Finally bought new gs 150 euro-2
» Why we are passing IndexOutOfBoundsException ex in catch?we have not ex.any Method or
» Guards catch prisoner in Mexico suitcase jailbreak
» What if I want to temporarily block my EVO connection
» Block Puzzle Bricks Game
» Why we are passing IndexOutOfBoundsException ex in catch?we have not ex.any Method or
» Guards catch prisoner in Mexico suitcase jailbreak
» What if I want to temporarily block my EVO connection
» Block Puzzle Bricks Game
Virtual Position Forum :: Members Lounge :: Sciences & Knowledge :: Programing and Design :: Java Forum
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Yesterday at 9:57 am by Ibad Khan Buledi
» house disrepair claims
Mon Apr 22, 2024 11:23 am by Joshuaadam
» Aloha Planner - Note-Taker
Thu Apr 11, 2024 4:52 pm by ali001
» Streaming Guide Film TV Series
Tue Apr 09, 2024 9:39 pm by ali001
» Apricot Tree Problems & Solutions ????|خوبانی کے پھل کو کیڑا لگنےسے بچانے کا طریقہ ????
Sun Apr 07, 2024 6:28 am by Zamaan Khan
» خوبانی کے پودے کی کاشت گرم علاقوں میں کرنی چاہیے یا نہی
Sun Apr 07, 2024 6:24 am by Zamaan Khan
» New Here
Sun Apr 07, 2024 6:15 am by Zamaan Khan
» Bajta Hua Sochoon Main Koi Saaz Na Aaye Naat
Sun Apr 07, 2024 6:14 am by Zamaan Khan
» Woh Pagal Si Episode 52 to 62 - Top Pakistani Drama
Sun Apr 07, 2024 6:06 am by Zamaan Khan