Lesson 14Object-Oriented Concepts

In this lesson, we are going to look at some general object-oriented concepts. We will explore different ways of abstracting problems, define object orientation (one way to abstract problems), describe the characteristics of an object-oriented language, and discuss the concept of public interface vs. private implementation.

ABSTRACTION

There are many ways to approach a particular problem that you are trying to solve. One approach is to start with the model of the solution space and then attempt to map the problem into it. This is the approach of many languages.

Assembly language closely matches the underlying computer mechanics. If you want to solve a particular problem, you must think in terms of how the computer works first and then figure out how to map the problem into that paradigm. This means that you must think about problems in terms of binary numbers, registers, addition, and subtraction. This requires you to understand how to do things like move data into registers, ...

Get Job Ready Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.