Bookmark Topic Watch Topic
  • New Topic

try catch and finally blocks

 
narasimha munagala
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi to everyone
I am new to java i want to know
in all the try ,catch,finally blocks return statements exists
if an exception raised in the try block then which return
statement execute
and if an exception not raised in the try block then
which return stetment execute.
Any one know answer for this question please give me answer
thank you
 
Henry Wong
author
Marshal
Pie
Posts: 21489
84
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
First of all, please do not cross post. It wastes people's time and effort, as they may be answering a question that has already been answered. Second, please choose your forum correctly, as this question has nothing to do with threads.

Anyway, since one of the other threads seems to be moved to the correct forum, I will close this one.

Henry
 
    Bookmark Topic Watch Topic
  • New Topic