Working with Classes and Interfaces in Java 11
This course provides you with everything you need to know to begin working with Java’s rich type system and serves as a strong foundation for all Java-based development environments including client-based, server-side, Android, and big data.
What you'll learn
Java is one of the most popular and widely-used programming languages in the world. It is supported by billions of devices. Whether you are interested in client-based, server-side, Android, or big data development, understanding how to program in Java is a critical part of being successful. Java is a multiparadigm language with rich object-oriented features. In this course, Working with Classes and Interfaces in Java 11, you will learn to how to work effectively with the core of the Java type system: classes and interfaces. First, you will learn how to implement a class including class constructors, fields, getters/setters, and polymorphic methods. Next, you will explore class inheritance, method overloading, and abstract classes. Finally, you will discover how to work with Enums, interfaces, nested types, and anonymous classes. When you are finished with this course, you will have the foundational knowledge of working with classes and interfaces that will enable you to become a successful Java programmer.
Table of contents
- Introduction 2m
- Understanding Interfaces 4m
- The Comparable Interface 6m
- Generic Interfaces 2m
- Implementing Multiple Interfaces 6m
- Declaring an Interface 2m
- Adding and Implementing an Interface in CalcEngine 5m
- Using the Interface in CalcEngine 4m
- A New Implementation of the Interface 3m
- Adding a Default Method to an Interface 3m
- Summary 3m