Three collaborating objects and the iterator pattern in Java: Object-Oriented Programming with Java

Veröffentlicht am: 21 Oktober 2022
auf dem Kanal: DesignCodeDebugRepeat
343
3

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:
   • Creating and documenting a simple cla...  

Here's the video creating the array and ArrayList of objects from a file:
   • Creating an array (and ArrayList) of ...  

You can practice writing the ProverbManager from the video here*:
https://codecheck.io/files/2210182214...

You can practice writing the ProverbGame from the video here*:
https://codecheck.io/files/2210182229...

You can practice writing the ProverbManagerIterator from the video here*:
https://codecheck.io/files/2210182234...

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/Jav...

You can access the Java, Java, Java book here:
https://runestone.academy/ns/books/pu...

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


Auf dieser Seite können Sie das Online-Video Three collaborating objects and the iterator pattern in Java: Object-Oriented Programming with Java mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer DesignCodeDebugRepeat 21 Oktober 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 343 Mal angesehen und es wurde von 3 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!