Hi iam beginer to the
java npls tell me the answer i have faced this question in on of the interview.
class demo
{
..........
.........
try
{
...
....
return;
}
catch(....)
{}
finally()
{}
}
In the above program i have written return statement in try block,if exception is there in try block what happend(return is there in try block) and exception is not there in try block?
pls tell me i have faced this question two interviews yaaa