Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #37733
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2017-12-07 13:32 -0800 |
| References | (4 earlier) <200bfada-8168-4bf1-88de-8cb9016aec1a@googlegroups.com> <367d1efe-674a-4e85-9887-816ebd57affe@googlegroups.com> <p0bvri$mki$2@news.albasani.net> <4cd638e1-3341-411e-a1f5-d27b121ca363@googlegroups.com> <p0cbf2$guu$1@news.albasani.net> |
| Message-ID | <e4b3fa88-4f24-444c-9673-61a759d9ff85@googlegroups.com> (permalink) |
| Subject | Re: Please help |
| From | Eric Douglas <e.d.programmer@gmail.com> |
On Thursday, December 7, 2017 at 4:23:03 PM UTC-5, Kiwi User wrote: > > Nope. Line 11 gives a compile-time error (javac 1.8.0_91). > Try it yourself. > So it does. I was thinking that's one of the automatic conversions. Apparently String and int are only automatically compatible if you were to do something like this. this.accountNum = X00000 + ""; (though the correct answer to this homework question is still:) this.accountNum = "X00000";
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Please help rustboy86@gmail.com - 2017-12-07 06:02 -0800
Re: Please help Eric Douglas <e.d.programmer@gmail.com> - 2017-12-07 07:10 -0800
Re: Please help rustboy86@gmail.com - 2017-12-07 07:33 -0800
Re: Please help Eric Douglas <e.d.programmer@gmail.com> - 2017-12-07 08:22 -0800
Re: Please help rustboy86@gmail.com - 2017-12-07 08:31 -0800
Re: Please help Eric Douglas <e.d.programmer@gmail.com> - 2017-12-07 08:54 -0800
Re: Please help rustboy86@gmail.com - 2017-12-07 09:29 -0800
Re: Please help Eric Douglas <e.d.programmer@gmail.com> - 2017-12-07 10:11 -0800
Re: Please help Kiwi User <martin@mydomain.invalid> - 2017-12-07 18:04 +0000
Re: Please help Eric Douglas <e.d.programmer@gmail.com> - 2017-12-07 10:14 -0800
Re: Please help rustboy86@gmail.com - 2017-12-07 10:36 -0800
Re: Please help Eric Douglas <e.d.programmer@gmail.com> - 2017-12-07 10:44 -0800
Re: Please help rustboy86@gmail.com - 2017-12-07 11:04 -0800
Re: Please help Eric Douglas <e.d.programmer@gmail.com> - 2017-12-07 13:35 -0800
Re: Please help Kiwi User <martin@mydomain.invalid> - 2017-12-07 21:22 +0000
Re: Please help Eric Douglas <e.d.programmer@gmail.com> - 2017-12-07 13:32 -0800
Re: Please help Kiwi User <martin@mydomain.invalid> - 2017-12-07 21:48 +0000
csiph-web