[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

whas wrong with my array list?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 10
Thread images: 3

File: 1.png (119KB, 1308x647px) Image search: [Google]
1.png
119KB, 1308x647px
w
>>
pls help me anon youre my only hope
>>
>>1048518
You're using foreach incorrectly, and you appear to have a typo. Rewrite line 9 to this:

for (String s : sport.values ()) {


Note the difference between local field sports and class field sport.
>>
File: 1401243436511.png (331KB, 670x472px) Image search: [Google]
1401243436511.png
331KB, 670x472px
>gives you a hint asking if you named ArrayList 'spoits'
>you called it 'sport'
>>
File: hermit crab.jpg (100KB, 500x667px) Image search: [Google]
hermit crab.jpg
100KB, 500x667px
>>1048519
>Learning Java
Hope has no home in this place.
>>
It cannot find any arraylist named sports. I'm no computer scientologist, but perhaps you should check your declaration and see what's different.
>>
>>1048739
>every OS can run it
>no hope
>>
>>1048876
every system can run it where there exists a JIT environment built for it.
just as every system can run any language where a compiler is built for it.
pro-tip:
there will exist a c compiler for pretty much every system because that's what language people use to write operating systems
please stop pushing this fucking retarded bullshit.
>>
Roberts rivers
>>
>>1048518

you called it "sport" not "sports"
Thread posts: 10
Thread images: 3


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.