Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #37764
| From | rustboy86@gmail.com (rustboy86) |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Please help |
| Date | 2017-12-07 10:36 +1200 |
| Organization | fsxNet Usenet Gateway | bbs.geek.nz/#fsxNet |
| Message-ID | <3464228628@f38.n261.z1.binkp.net> (permalink) |
| References | <2264931732@f38.n261.z1.binkp.net> |
On Thursday, December 7, 2017 at 6:14:29 PM UTC, Eric Douglas wrote: > On Thursday, December 7, 2017 at 1:04:56 PM UTC-5, Kiwi User wrote: > > > Did you compile this with your BlueJ to see your error? > > > All I'm seeing wrong with this is your getter method forgetting to > > > declare the return type. > > > > > There's an error in the constructor too: no double quotes round the > > String constant. > > > > > > That is actually a runtime error. It does look like the instructions say to initialize it to the string constant "X00000" while this code is initializing the String variable to the String value of the int variable X00000 which is not assigned. I just dont get it at all ive tried re-writing but nothing works
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Please help rustboy86@gmail.com (rustboy86) - 2017-12-07 06:02 +1200
Re: Please help Eric Douglas <e.d.programmer@gmail.com> (Eric Douglas) - 2017-12-07 07:10 +1200
Re: Please help rustboy86@gmail.com (rustboy86) - 2017-12-07 07:33 +1200
Re: Please help Eric Douglas <e.d.programmer@gmail.com> (Eric Douglas) - 2017-12-07 08:22 +1200
Re: Please help rustboy86@gmail.com (rustboy86) - 2017-12-07 08:31 +1200
Re: Please help Eric Douglas <e.d.programmer@gmail.com> (Eric Douglas) - 2017-12-07 08:54 +1200
Re: Please help rustboy86@gmail.com (rustboy86) - 2017-12-07 09:29 +1200
Re: Please help Eric Douglas <e.d.programmer@gmail.com> (Eric Douglas) - 2017-12-07 10:11 +1200
Re: Please help Kiwi User <martin@mydomain.invalid> (Kiwi User) - 2017-12-07 18:04 +1200
Re: Please help Eric Douglas <e.d.programmer@gmail.com> (Eric Douglas) - 2017-12-07 10:14 +1200
Re: Please help rustboy86@gmail.com (rustboy86) - 2017-12-07 10:36 +1200
Re: Please help Eric Douglas <e.d.programmer@gmail.com> (Eric Douglas) - 2017-12-07 10:44 +1200
Re: Please help rustboy86@gmail.com (rustboy86) - 2017-12-07 11:04 +1200
Re: Please help Eric Douglas <e.d.programmer@gmail.com> (Eric Douglas) - 2017-12-07 13:35 +1200
Re: Please help Kiwi User <martin@mydomain.invalid> (Kiwi User) - 2017-12-07 21:22 +1200
Re: Please help Eric Douglas <e.d.programmer@gmail.com> (Eric Douglas) - 2017-12-07 13:32 +1200
Re: Please help Kiwi User <martin@mydomain.invalid> (Kiwi User) - 2017-12-07 21:48 +1200
csiph-web