Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #29149
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Scott Dunning <scottwd01@gmail.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Class assignment help |
| Date | Sun, 20 Jul 2014 23:59:06 -0700 |
| Organization | A noiseless patient Spider |
| Lines | 35 |
| Message-ID | <lqidjb$8l5$1@dont-email.me> (permalink) |
| References | <lqi67a$1nt$2@dont-email.me> <lqi6fl$3b3$1@dont-email.me> <tnaps91uuvk0tlsan8e2f0fg930u6vvo9i@4ax.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Mon, 21 Jul 2014 06:56:43 +0000 (UTC) |
| Injection-Info | mx05.eternal-september.org; posting-host="11828741c91d0da908948c6ecdf164c7"; logging-data="8869"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+qT0sGSYg1+9euFiXK64exu33VRxdtoCo=" |
| User-Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
| In-Reply-To | <tnaps91uuvk0tlsan8e2f0fg930u6vvo9i@4ax.com> |
| Cancel-Lock | sha1:7P1qZsWzUzbT9EhiSzW+QJnm7WQ= |
| Xref | csiph.com comp.lang.java.programmer:29149 |
Show key headers only | View raw
On 7/20/14, 10:55 PM, Roedy Green wrote:
> On Sun, 20 Jul 2014 21:57:40 -0700, Scott Dunning
> <scottwd01@gmail.com> wrote, quoted or indirectly quoted someone who
> said :
>
>> Exception in thread "main" java.lang.Error: Unresolved compilation problem:
>
> That is the first time I have ever seen that message. How did you
> compile this? It was not javac.exe was it?
>
> Literally it is saying that there were compile time errors you
> ignored, but it tried to run anyway.
>
> What error messages came out at compile time?
>
That is in the IDE eclipse. I just tried to compile it in a text editor
with terminal and these are the errors I'm getting. I'm not really sure
what it means. Doesn't initializing it mean to declare the variables?
StudentScore.java:35: error: variable highName might not have been
initialized
secondHighName = highName;
^
StudentScore.java:42: error: variable highName might not have been
initialized
System.out.print("Student with the highest score: " + highName + " " +
highScore);
^
StudentScore.java:43: error: variable secondHighName might not have been
initialized
System.out.print("Student with the second highest score: " +
secondHighName + " " + secondHighScore);
^
3 errors
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Class assignment help Scott Dunning <scottwd01@gmail.com> - 2014-07-20 21:53 -0700
Re: Class assignment help Scott Dunning <scottwd01@gmail.com> - 2014-07-20 21:57 -0700
Re: Class assignment help Roedy Green <see_website@mindprod.com.invalid> - 2014-07-20 22:55 -0700
Re: Class assignment help Scott Dunning <scottwd01@gmail.com> - 2014-07-20 23:59 -0700
Re: Class assignment help Tim Slattery <tim@risingdove.com> - 2014-07-21 10:50 -0400
Re: Class assignment help Roedy Green <see_website@mindprod.com.invalid> - 2014-07-21 12:35 -0700
Re: Class assignment help Scott Dunning <scottwd01@gmail.com> - 2014-07-21 14:22 -0700
Re: Class assignment help Scott Dunning <scottwd01@gmail.com> - 2014-07-21 14:29 -0700
Re: Class assignment help Jeff Higgins <jeff@invalid.invalid> - 2014-07-21 17:30 -0400
Re: Class assignment help Scott Dunning <scottwd01@gmail.com> - 2014-07-21 15:26 -0700
Re: Class assignment help Scott Dunning <scottwd01@gmail.com> - 2014-07-21 15:34 -0700
Re: Class assignment help Jeff Higgins <jeff@invalid.invalid> - 2014-07-21 18:35 -0400
Re: Class assignment help Jeff Higgins <jeff@invalid.invalid> - 2014-07-21 20:55 -0400
Re: Class assignment help markspace <markspace@nospam.nospam> - 2014-07-22 10:42 -0700
Re: Class assignment help Scott Dunning <scottwd01@gmail.com> - 2014-07-23 17:55 -0700
Re: Class assignment help cdalten@gmail.com - 2014-07-30 20:58 -0700
Re: Class assignment help cdalten@gmail.com - 2014-07-30 21:00 -0700
csiph-web