Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #19336
| Received | by 10.68.213.103 with SMTP id nr7mr3659pbc.7.1350261871432; Sun, 14 Oct 2012 17:44:31 -0700 (PDT) |
|---|---|
| Received | by 10.68.225.234 with SMTP id rn10mr2208968pbc.3.1350261871375; Sun, 14 Oct 2012 17:44:31 -0700 (PDT) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!kt20no34955490pbb.1!news-out.google.com!jt13ni6326pbb.1!nntp.google.com!kr7no29906113pbb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.java.programmer |
| Date | Sun, 14 Oct 2012 17:44:31 -0700 (PDT) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=24.18.212.160; posting-account=eI-sdAoAAADz9KwBuVAXJN_7wuu5YBT1 |
| NNTP-Posting-Host | 24.18.212.160 |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <81d2cb8c-292b-4efd-9a42-ac8ef0f86d0e@googlegroups.com> (permalink) |
| Subject | boolean statement |
| From | K <kalezwe@gmail.com> |
| Injection-Date | Mon, 15 Oct 2012 00:44:31 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Xref | csiph.com comp.lang.java.programmer:19336 |
Show key headers only | View raw
Why does my boolean statement have an error message next to it in eclipse?
public class boolean1 {
public static void main(String[] args) {
int gumballs;
int kids;
int gumballsPerKid;
boolean eachKidGetsTen;
gumballs = 140;
kids = 15;
gumballsPerKid = gumballs / kids;
System.out.print("True of False? ");
System.out.println("Each kid gets 10 gumballs");
eachKidGetsTen = gumballsPerKid >= 10;
System.out.println("eachKidGetsTen");
}
}
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
boolean statement K <kalezwe@gmail.com> - 2012-10-14 17:44 -0700
Re: boolean statement glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-10-15 00:57 +0000
Re: boolean statement K <kalezwe@gmail.com> - 2012-10-14 18:25 -0700
Re: boolean statement Lew <lewbloch@gmail.com> - 2012-10-14 21:34 -0700
Re: boolean statement Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2012-10-15 06:54 +0000
Re: boolean statement Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-10-14 21:04 -0400
Re: boolean statement Gene Wirchenko <genew@ocis.net> - 2012-10-14 18:52 -0700
Re: boolean statement K <kalezwe@gmail.com> - 2012-10-14 19:55 -0700
Re: boolean statement Gene Wirchenko <genew@ocis.net> - 2012-10-14 20:10 -0700
Re: boolean statement Jeff Higgins <jeff@invalid.invalid> - 2012-10-15 08:20 -0400
Re: boolean statement Lew <lewbloch@gmail.com> - 2012-10-15 09:15 -0700
Re: boolean statement Roedy Green <see_website@mindprod.com.invalid> - 2012-10-14 22:41 -0700
Re: boolean statement Lew <lewbloch@gmail.com> - 2012-10-15 09:15 -0700
Re: boolean statement Robert Klemme <shortcutter@googlemail.com> - 2012-10-16 01:10 -0700
csiph-web