NEW! Explore Our New Platform, the Playback Press
Learn from all of your favorite code playbacks (including the ones in this book) on our brand-new site, the Playback Press.
At the Playback Press, every playback is equipped with an AI assistant that's ready to answer your questions and to test your knowledge of the material you are learning. Watch this video, "How to View a Code Playback", to see these exciting new features in action. It's like having a personal tutor right at your fingertips!
All of our books remain free of charge, check them out now!
These playbacks introduce the reader to the Java programming language. I focus on the fundamental aspects of the language, OO concepts, and design patterns. I am assuming the reader has some programming experience in a programming language like C/C++, Python, or Javascript.
The first chapter, 'Basic Java', covers some of the fundamentals of the Java language. If you have some Java experience you can skip this chapter. The second chapter, 'Inheritance, Polymorphism, and Interfaces', cover the main tenets of an object oriented programming language. The third chapter, 'Design Patterns', covers nine common design patterns. A design pattern is a solution to a well known problem that can be applied in different contexts. I discuss the general problem/solution pair first and then apply each one to a specific context.
| 1.1 Hello World!!! |
| 1.2 Gathering Input with JOptionPanes |
| 1.3 Java Containers: Arrays and ArrayLists |
| 1.4 Simple Game of Jumble Part 1 |
| 1.5 A Slightly More Complex Game of Jumble Part 2 |
Chapter 2 Inheritance, Polymorphism, and Interfaces