Hi
return false ,finally must be excute.

On Fri, Sep 30, 2011 at 4:06 AM, gk <goran.kar...@googlemail.com> wrote:

> What is the output of the following method?
>
> public boolean whatDoesItDo()
> {
>    try
>    {
>        if(true)
>        {
>            throw new IllegalStateException();
>        }
>        return true;
>    }
>    finally
>    {
>        if(true)
>        {
>            return false;
>        }
>    }
> }
>
> Have a nice time figuring it out ;-)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-java@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>


-- 
Thanks & Regards
R.Prabakaran

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to