Three collaborating objects and the iterator pattern in Java: Object-Oriented Programming with Java
This series of videos is suitable for programmers with some programming or Java experience who want to learn object-oriented programming and dig deeper into some other Java features. This video uses the Proverb class that was written in the video on creating a simple class in Java and the code from the video on filling an array of objects from a file. In this video we build some of the game system around the Proverb class by creating a Proverb Manager and a ProverbGame class. We use the iterator pattern in the ProverbManager to allow access to the proverbs. This video is suitable to watch after reading Chapters 0-2 of Java, Java, Java: Object-oriented problem solving, by Morelli, Walde, and Hoffman and with a little knowledge of different ways objects can collaborate in object-oriented systems. However, the video is very straightforward and can also stand alone or accompany any other textbook that has introduced classes and object-oriented design. Let's have some fun learning to program in Java!
Here's the video creating the Proverb class:
https://youtu.be/VDFqbNG8B3o
Here's the video creating the array and ArrayList of objects from a file:
https://youtu.be/OYte6MzNOYE
You can practice writing the ProverbManager from the video here*:
https://codecheck.io/files/221018221449qdfc4tt1lu30bj23havhgih
You can practice writing the ProverbGame from the video here*:
https://codecheck.io/files/221018222974m1oy7bgx7brsgpapy9tublx
You can practice writing the ProverbManagerIterator from the video here*:
https://codecheck.io/files/221018223412gpe4ka7wwabl64al362wy5k
The code and text file from this video, along with the Proverb class and classes from the array/file reading video, are in my github repository, available here:
https://github.com/ProfessorBurke/JavaExamples/tree/main/SimpleJavaClass
You can access the Java, Java, Java book here:
https://runestone.academy/ns/books/published/javajavajava/book-1.html?mode=browsing
If you want to earn credit for learning to code, take an online course at CCRI! These videos are part of the Advanced Java course:
https://ccri.edu/comp/
*The CodeCheck system courtesy of Cay Horstmann, https://horstmann.com/codecheck/
00:00 Writing the ProverbManager class
05:44 Writing the ProverbGame class
08:01 Using an Iterator object
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Three collaborating objects and the iterator pattern in Java: Object-Oriented Programming with Java», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.