Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #18739
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2012-09-13 10:53 -0700 |
| References | <k2pe2b$lp4$1@dont-email.me> <m3pq5r4e18.fsf@ipa.eternal-september.org> <k2rreo$hqj$1@dont-email.me> <127f013d-c689-47f9-bb69-4e558d072d61@googlegroups.com> <k2s4f0$rn9$1@dont-email.me> |
| Message-ID | <2be1e398-65ad-47d3-a8b0-6fccad04c075@googlegroups.com> (permalink) |
| Subject | Re: can't return value |
| From | Lew <lewbloch@gmail.com> |
markspace wrote: > Lew wrote: >> bilsch wrote: >>> OK. Now I see what Jukka meant by initializing to NULL. But I don't >>> know what exception to throw for 'misssing return statement'. Also I >>> don't know how to put it in. > >> And there are no 'RETURN' statements in Java. > > Not sure where this came from, I didn't see anyone upthread quote return > as 'RETURN'. However, the null literal in Java is properly spelled > 'null', not NULL. Perhaps that's what you meant to comment on. No, I was commenting on the OP's very first post that started this thread: "The variable lastName isn't visible to the RETURN statement that's located two brackets lower." -- Lew
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
can't return value "bilsch" <king621@comcast.net> - 2012-09-12 00:36 -0700
Re: can't return value Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-09-12 07:11 -0400
Re: can't return value bilsch <bilsch01@gmail.com> - 2012-09-12 22:15 -0700
Re: can't return value Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-09-13 08:53 -0400
Re: can't return value Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2012-09-12 15:32 +0300
Re: can't return value bilsch <bilsch01@gmail.com> - 2012-09-12 22:37 -0700
Re: can't return value Lew <lewbloch@gmail.com> - 2012-09-12 23:17 -0700
Re: can't return value markspace <-@.> - 2012-09-13 01:11 -0700
Re: can't return value Lew <lewbloch@gmail.com> - 2012-09-13 10:53 -0700
Re: can't return value Stuart <DerTopper@web.de> - 2012-09-13 09:45 +0200
Re: can't return value "bilsch" <king621@comcast.net> - 2012-09-13 03:55 -0700
Re: can't return value Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2012-09-13 15:06 +0300
Re: can't return value Stuart <DerTopper@web.de> - 2012-09-13 20:53 +0200
Re: can't return value Roedy Green <see_website@mindprod.com.invalid> - 2012-09-12 20:54 -0700
csiph-web