22. Java Helsinki Uni MOOC programming 1 part 4! Files and Reading Data Part 3 of 3

preview_player
Показать описание

0:00 Intro
02:00 CSV quick recap
02:58 Challenge: Records From a File
16:15 Challenge: Storing Records
20:19 Chalenge; Sport Statistics
35:45 Outro

Good luck and happy coding!

Рекомендации по теме
Комментарии
Автор

Normally I solve the exercises the way that makes sense to me, and then I come here to see how you achieved the solution. Seeing how you go through these exercises really opens my eyes into the multiple ways that a solution can be found. Thank you for supplementing the learning process.

juanlopez
Автор

I've really been hoping someone did a walkthrough this program because I think this MOOC is laid out well but my eyes started to glaze over just from the reading. I only needed one person to do it and you happen to be the guy! Thanks a lot and I hope these videos start to pull in more views.

evangrove
Автор

I'm redoing the sports statistics using an object, I solved without it, and forgot the whole point of this section is to learn object programming, my solution was "shorter" than the model in the MOOC website, but this way I'm missing the experience of practicing creating objects more. I did this. Now to start again.


String line = fileScanner.nextLine();
String[] parts = line.split(", ");
if(parts[0].equals(team)){

wins++;
}else{
losses++;
}
gamesPlayed++;
}
if(parts[1].equals(team)){

wins++;
}else{
losses++;
}
gamesPlayed++;
}

}

rogersantosprojects
join shbcf.ru