Hi
return false ,finally must be excute.
On Fri, Sep 30, 2011 at 4:06 AM, gk <[email protected]> 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
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.