r/learnjava • • Jan 22 '20

MOOC.FI has been updataed

https://java-programming.mooc.fi/

A bit unlocks each week, so it's not fully there yet

updated*

201 Upvotes

128 comments sorted by

View all comments

1

u/[deleted] Jan 29 '20

Anyone having issues with submission on Part 2 - Task 24 "From Parameter To One". Failing all tests, when there is no way my simple 3 lines of code is wrong.

Getting no output from my println statement.

1

u/asc_tech Jan 29 '20

Make sure your code is saying word for word what their examples say, the tests will fail you for something as simple as a missing “.”

1

u/[deleted] Jan 29 '20

Yeah I know, probably my least favourite part of the tutorials. Usually the explanation will say one thing eg. “what numbers?” And then the code example will have “give numbers?”

I’ll have to double check when I’m back at my computer

1

u/asc_tech Jan 30 '20

Agreed haha, plenty of times I’ve nearly been shouting at the exercise as it’s correct but I’ve used the example you just gave instead of what they wanted

1

u/[deleted] Feb 02 '20

for loop didn't seem to work for me, so did it the long way with a while loop and it accepted it. Weird.