Copyright

Ch 7: Object-Oriented Programming Overview

About This Chapter

You'll understand object-oriented programming with ease using this helpful chapter as your guide. This chapter is made up of lessons and quizzes designed to assist you as you prepare for an exam, complete your homework or catch up after missing class.

Object-Oriented Programming Overview - Chapter Summary

In this chapter, you'll find a series of lessons on object-oriented programming you can use on any smartphone, tablet or computer. At your own pace, you can study topics including object-oriented programming classes, objects, and methods; the five basic concepts of object-oriented design and Java class. Our experts are available to assist you with any questions you might have. Use the lesson quizzes and chapter test to assess yourself and see how well remember key lesson concepts. After you complete this lesson, you should be able to:

  • Explain object as a Java data type
  • Define instantiation in Java
  • Explain constructors in Java
  • Differentiate between overriding and overloading in Java
  • Detail methods and constructors in regard to overloading in Java
  • Outline inheritance in Java
  • Identify limitation as it relates to multiple inheritance in Java
  • Explain the difference between polymorphism and inheritance in Java
  • Compare abstract classes and interfaces in Java
  • Define exceptions in Java and give examples
  • Use inheritance in a practical application

15 Lessons in Chapter 7: Object-Oriented Programming Overview
Test your knowledge with a 30-question chapter practice test
Object-Oriented Programming: Objects, Classes & Methods

1. Object-Oriented Programming: Objects, Classes & Methods

Object-oriented programming has become the most widely used approach to software development. Learn about the core concepts of object-oriented programming and how they are implemented using objects, classes and methods in this video lesson.

Five Basic Concepts of Object-Oriented Design

2. Five Basic Concepts of Object-Oriented Design

There are five key pillars of Object-Oriented Design. In this lesson, we will cover the five core concepts of objects/classes, inheritance, encapsulation, methods, and polymorphism.

What is a Class in Java? - Definition & Examples

3. What is a Class in Java? - Definition & Examples

Java is an object-oriented language: at its heart are objects and classes. This lesson will define classes in Java, how they are used, and how classes can inherit information from other classes.

Java Data Types: Object

4. Java Data Types: Object

You'll learn about Java objects and the class descriptions which define them. In object-oriented programming, we design and implement a program using objects and classes, manipulating them to achieve your goal.

What is Instantiation in Java? - Definition & Example

5. What is Instantiation in Java? - Definition & Example

Instantiation is a big word to describe a universal and straightforward concept in Java programming: creating new instances of objects to be used in a program. This lesson will define the term and provide real-world examples.

What is a Constructor in Java? - Definition & Example

6. What is a Constructor in Java? - Definition & Example

An object can't be created in Java without a constructor. In this lesson, we will define a Java constructor and look at working code examples of this key building block of object-oriented programming.

Overloading in Java: Methods & Constructors

7. Overloading in Java: Methods & Constructors

Unlike a semi-trailer, an overloaded Java method or constructor isn't necessarily a bad thing. Java allows overloading. It is a useful tool in the Java programmer's toolbox. This lesson will explain the concept and provide working code examples.

Overriding Methods in Java: Definition & Example

8. Overriding Methods in Java: Definition & Example

Overriding in Java is not a legal maneuver. It is a powerful tool that allows you to use existing classes and methods for specific purposes without posing a threat to those methods. This lesson will cover the concept and provide working code examples.

Overloading vs. Overriding in Java

9. Overloading vs. Overriding in Java

Overload or override? These similar-sounding concepts are actually quite different. This lesson will compare the two in the framework of classes and methods. Working code examples will be provided to highlight each function.

Inheritance in Java: Definition, Example & Syntax

10. Inheritance in Java: Definition, Example & Syntax

Inheritance in Java is not an estate or a classic car from a long-lost relative. It means certain classes can share attributes from other classes. Here, we'll learn the concept and the syntax for this powerful feature of Java.

Multiple Inheritance in Java: Definition & Limitation

11. Multiple Inheritance in Java: Definition & Limitation

In this lesson, we will explore the concept of multiple inheritance, and the reasons that Java does not support this object-oriented principle. Alternatives are explored, with working code examples provided.

Inheritance vs. Polymorphism in Java

12. Inheritance vs. Polymorphism in Java

Cool concepts come with cool names: inheritance and polymorphism. In this lesson we'll cover how Java harnesses inheritance to create families of classes and explain how you can create methods without having to know what object you're using!

Comparing Interfaces & Abstract Classes in Java

13. Comparing Interfaces & Abstract Classes in Java

Object-oriented programming is all about reducing unnecessary code. In Java, interfaces and abstract classes are powerful tools for writing well-organized programs. This lesson will cover each and provide code examples.

Exceptions in Java: Definition & Example

14. Exceptions in Java: Definition & Example

File not found! We see exceptions every day as they are a feature of any program or programming language. In this lesson, we'll cover Java exceptions/errors, and provide some examples and methods for handling them.

Practical Application for Java: Using Inheritance

15. Practical Application for Java: Using Inheritance

In this practical lesson, we will look at inheritance, and how Java classes can use variables and methods from other classes. You will have the opportunity to develop and compile code that uses inheritance.

Chapter Practice Exam
Test your knowledge of this chapter with a 30 question practice chapter exam.
Not Taken
Practice Final Exam
Test your knowledge of the entire course with a 50 question practice final exam.
Not Taken

Earning College Credit

Did you know… We have over 160 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Transferring credit to the school of your choice

Not sure what college you want to attend yet? Study.com has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

Support