Log In
Join
for free
Log In
Join
for free
Back To Module Home
Object Oriented Programming
0% completed
Classes and Objects
Introduction to Classes
Declaration and Implementation
Access Modifiers
Fields
Methods
Constructors
A Bit More about Constructors
Challenge 5: Implement a Calculator Class
Solution Review: Implement a Calculator Class
Data Hiding
What is Data Hiding?
Encapsulation
Understanding Encapsulation Using Examples
Challenge 1: Implement the Rectangle Class Using the Concepts of Encapsulation
Solution Review: Implement the Rectangle Class Using the Concepts of Encapsulation
Inheritance
What is Inheritance?
The Syntax and Terminologies
Super Keyword
Types of Inheritance
Advantages of Inheritance
Challenge 1: Implement the Derived Class
Solution Review: Implement the Derived Class
Polymorphism
What is Polymorphism?
Polymorphism in OOP
Method Overriding
Difference Between the Overloading and Overriding of Methods
Dynamic Polymorphism
Difference between Static and Dynamic Polymorphism
Challenge #1: Override a Method using the Super Keyword
Solution Review: Override a Method using the Super Keyword
Abstract Classes and Interfaces
What is Abstraction?
Abstract Classes and Methods
Interfaces
Default Methods in interfaces
Static Methods in interfaces
Functional Interfaces in Java
Multiple Inheritance
Challenge 1: Implement an Abstract Method in a Base Class
Solution Review: Implement an Abstract Method in a Base Class
Aggregation and Composition
A Brief Introduction
Aggregation
Composition
Quiz
Challenge 1: Associate Vehicle and Its Driver
Solution Review: Associate Vehicle and Its Driver
Solution Review: Implement a Calculator Class
This review provides a detailed analysis to solve the 'Implement a Calculator Class' challenge.
We'll cover the following
Solution
Explanation
Solution