Everything You Need to Know About Interfaces and Inheritance

In this chapter, we will go through some important concepts, such as interfaces, how they work, and their usage in Java. We will discuss inheritance using a practical example. This chapter will also look at the concepts of function overloading and function overriding and the differences between them.

We will cover the following topics in this chapter:

  • Interfaces
  • Introduction to inheritance
  • Function overloading
  • Function overriding

Get Hands-On Automation Testing with Java for Beginners 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.