Chapter 10: Object-Oriented Programming
In this chapter, we will discover that in Java, classes are fundamental to just about everything. We will also begin to understand why the software engineers at Sun Microsystems back in the early 1990s made Java the way they did.
We have already talked about reusing other people's code, specifically the Android API, but in this chapter, we will really get to grips with how this works and learn about object-oriented programming and how to use it.
In summary, we will cover the following topics:
- What object-oriented programming is, including encapsulation, inheritance, and polymorphism
- Writing and using our first class in an app