Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #16895
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: initialize an array of booleans |
| Date | 2012-07-31 14:08 -0700 |
| Organization | Canadian Mind Products |
| Message-ID | <i8ig18hpr711i8fe22pvq4mh0tl7gep5on@4ax.com> (permalink) |
| References | <1db13953-d741-4f7d-ad9a-27ca5b194884@googlegroups.com> |
On Tue, 31 Jul 2012 12:58:58 -0700 (PDT), bob smith <bob@coolfone.comze.com> wrote, quoted or indirectly quoted someone who said : >Is there any easy way to initialize an array of booleans like this? > >boolean b[] = new boolean(false)[100]; for basic info on arrays including initialisation, see http://mindprod.com/jgloss/array.html For this kind of info, a basic text book, even an out-of-date free one is invaluable. -- Roedy Green Canadian Mind Products http://mindprod.com The greatest shortcoming of the human race is our inability to understand the exponential function. ~ Dr. Albert A. Bartlett (born: 1923-03-21 age: 89) http://www.youtube.com/watch?v=F-QA2rkpBSY
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
initialize an array of booleans bob smith <bob@coolfone.comze.com> - 2012-07-31 12:58 -0700 Re: initialize an array of booleans Lew <lewbloch@gmail.com> - 2012-07-31 13:08 -0700 Re: initialize an array of booleans Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-07-31 16:12 -0400 Re: initialize an array of booleans Roedy Green <see_website@mindprod.com.invalid> - 2012-07-31 14:08 -0700
csiph-web