About This Chapter
Interfaces & Inheritance in Java: Chapter Summary
If your career involves significant work on designing and running websites, you most likely need a thorough understanding of Java, one of the most commonly used programming languages. This chapter teaches you about how interfaces and inheritance works in Java. Each lesson provides an informative overview of the specific chapter topics, broadening your knowledge and strengthening your understanding of these technical concepts.
Our team of experts have carefully separated the chapter into short, manageable lessons. Our shorter lessons allow you to comprehend difficult topics more easily, and the practical examples show you how to use these tech skills in real-life scenarios. Since the lessons are self-paced, you can always go back and review the lessons until you feel you have mastered the information completely.
The topics reviewed within this chapter should prepare you to do the following:
- Describe the syntax and identify examples of inheritance in Java
- Identify major differences between polymorphism and inheritance
- Analyze Java interfaces
- Examine abstract classes and interfaces in Java
Java is a trademark of Oracle, which is not affiliated with Study.com.
1. 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.
2. 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!
3. Java Interfaces: Definition & Examples
A Java interface need not be a scary concept: It is like a class, but without methods. Interfaces are used to work with several classes and share information between them. We will define the term and provide examples of Java code.
4. 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.
Earning College Credit
Did you know… We have over 200 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.