Java is an object-oriented programming language. Object-oriented (OO) programming has proven to be one of the most effective and flexible programming paradigms. This unit will begin with a discussion of what makes OO programming so unique, and why its advantages have made it the industry-standard paradigm for newly designed programs. We then discuss the fundamental concepts of OO and relate them back to Java. By the end of this unit, you will have a strong understanding of what OO programming is, how it relates to Java, and why we use it.
Completing this unit should take you approximately 3 hours.
Object-oriented approaches to software development are an important expansion of procedural approaches. Java explicitly supports both approaches, but you should focus on the object-oriented approach. This article compares the two approaches and explains the fundamentals of each.
Read this article about object-oriented programming. Every paradigm has its advantages and disadvantages. OO is the same.
This section explains fundamentals of object oriented programming. As you read, focus on the difference between classes and objects.
This section expands the discussion from objects and classes to inheritance, polymorphism, and abstract classes. These facets of OO programming are a natural consequence of the basic concepts behind objects and classes.
Encapsulation facilitates control over access to components of a class. Read this article to get a clear understanding.
A major principle of OO programming is keeping the implementation of an object separate from manipulation. This article explains how that works.
Take this assessment to see how well you understood this unit.