About This Chapter
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
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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!
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.
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.
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.
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.
Other chapters within the Computer Science 109: Introduction to Programming course
- Computer Programming Basics
- Built-In Data Types for Programming
- Conditionals & Loops in Programming
- Arrays in Programming
- Input & Output in Programming
- Functions & Modules in Programming
- Algorithmic Analysis, Sorting & Searching
- Stacks & Queues for Data Structures
- Tables, Maps & Graphs in Programming