educative.io

Learn Object-Oriented Programming in Java (Educative)


Polymorphism - Quiz Let’s test your understanding of the concept of polymorphism with the help of a short quiz. Polymorphism - Challenge 1: Override a Method using the Super Keyword Can you override a method in a derived class with the help of super keyword? A solution is placed in the “solution” section to help you, but we would suggest you try to solve it on your own first. Polymorphism - Challenge 2: Implement and Override the Method in the Derived Class Can you override the getArea() method in a derived class of the base class? A solution is placed in the “solution” section to help you, but we would suggest you try to solve it on your own first. Abstract Classes and Interfaces - Quiz Let’s test your understanding of Abstract Classes and Interfaces with the help of a short quiz. Abstract Classes and Interfaces - Challenge 1: Implement an Abstract Method in a Base Class Can you implement an abstract method of a base class? A solution is placed in the “solution” section to help you, but we would suggest you try to solve it on your own first. Abstract Classes and Interfaces - Challenge 2: Implement an Interface Can you implement an interface in your class? A solution is placed in the “solution” section to help you, but we would suggest you try to solve it on your own first. Composition, Aggregation and Association - A Brief Introduction In this lesson, you’ll get to know why composition, aggregation, and association are useful concepts in OOP. Composition, Aggregation and Association - Aggregation In this lesson, you’ll get familiar with a new way of linking different classes. Composition, Aggregation and Association - Quiz Test your knowledge of composition, aggregation, and association in this fun quiz! Composition, Aggregation and Association - Association In this lesson, you’ll learn about the relationship between two unrelated objects i.e. Association in Java. Composition, Aggregation and Association - Challenge 1: Associate Vehicle and Its Driver In this challenge, you have to perform association between two classes in Java. Composition, Aggregation and Association - Challenge 3: Playing with Cars and Engines! In this exercise, you have to perform composition between the Toyota class and its Engine! Introduction to Object-Oriented Programming - A Brief Introduction This lesson welcomes you to the world of Object Oriented Programming. Classes and Objects - Access Modifiers In this lesson, you will learn about the private, public and protected data members. Classes and Objects - Fields This lesson will go into the details of the fields of a class. Classes and Objects - Methods In this lesson, you will get to know about the role of methods in classes. Classes and Objects - Constructors In this lesson, the world of constructors is explored and you’ll learn why they are necessary for a class. Classes and Objects - A Bit More about Constructors In this lesson, you will learn a bit more about constructors. Classes and Objects - Solution Review: Square Numbers and Return their Sum This review provides a detailed analysis to solve the ‘Square Numbers and Return their Sum’ challenge. Data Hiding - Quiz Test your knowledge on data hiding with this theoretical quiz! Classes and Objects - Solution Review: Calling a Constructor from a Constructor This review provides a detailed analysis to solve the ‘Calling a Constructor from a Constructor’ challenge. Classes and Objects - Solution Review: Calculate the Student's Total Marks This review provides a detailed analysis to solve the ‘Calculate the Student’s Total Marks’ challenge. Classes and Objects - Challenge 3: Calculate the Student's Total Marks In this exercise, you have to calculate the student’s total marks using the concept of Classes Classes and Objects - Challenge 4: Implement a Calculator Class In this exercise, you have to implement a calculator which can perform addition, subtraction, multiplication, and division. Data Hiding - Encapsulation In this lesson, you’ll get familiar with the component of data hiding i.e. Encapsulation. Classes and Objects - Solution Review: Implement a Calculator Class This review provides a detailed analysis to solve the ‘Implement a Calculator Class’ challenge. Data Hiding - What is Data Hiding? In this lesson, you will get familiar with a very important aspect of Object Oriented Programming called data hiding. Data Hiding - Understanding Encapsulation Using Examples In this lesson, you will get a firmer understanding of encapsulation in Java with the help of examples. Data Hiding - Solution Review: Implement the Complete Student Class This review provides a detailed analysis to solve the ‘Implement the Complete Student Class’ challenge. Data Hiding - Challenge 2: Implement the Complete Student Class Can you implement the Student class using the concepts of encapsulation? A solution is placed in the “solution” section to help you, but we would suggest you try to solve it on your own first. Inheritance - The Syntax and Terminologies In this lesson, you will learn how to use inheritance syntactically and the terminologies related to it. Inheritance - Super Keyword In this lesson, you’ll get to know about the uses of the super keyword in Java. Data Hiding - Solution Review: Implement the Rectangle Class Using the Concepts of Encapsulation This review provides a detailed analysis to solve the ‘Implement the Rectangle Class using the Concepts of Encapsulation’ challenge. Inheritance - Advantages of Inheritance In this lesson, you’ll get to know about the advantages of using Inheritance. Polymorphism - Difference between Static and Dynamic Polymorphism In this lesson, you will learn about the differences between static and dynamic polymorphism. Inheritance - Solution Review: Implement the Derived Class This review provides a detailed analysis to solve the ‘Implement the Derived Class’ challenge. Inheritance - What is Inheritance? In this lesson, you will be introduced to Inheritance, a powerful concept of Object-Oriented Programming. Abstract Classes and Interfaces - Abstract Classes and Methods In this lesson, you’ll get to know about the abstract classes and methods. Abstract Classes and Interfaces - Interfaces In this lesson, another important topic of Java abstraction is covered i.e. Interfaces. Data Hiding - Challenge 1: Implement the Rectangle Class Using the Concepts of Encapsulation Can you implement the rectangle class using the concepts of encapsulation? A solution is placed in the “solution” section to help you, but we would suggest you try to solve it on your own first. Polymorphism - Solution Review: Override a Method using the Super Keyword This review provides a detailed analysis to solve the ‘Override a Method using the Super Keyword’ challenge. Polymorphism - Dynamic Polymorphism In this lesson, you will learn about the concepts of dynamic polymorphism. Inheritance - Solution Review: Implement the Parametrized Constructor This review provides a detailed analysis to solve the ‘Implement the Parametrized Constructor’ challenge. Inheritance - Challenge 2: Implement the Parametrized Constructor Can you implement the Derived Class Parametrized constructor? A solution is placed in the “solution” section to help you, but we would suggest you try to solve it on your own first. Polymorphism - What is Polymorphism? In this lesson, the concept of Polymorphism will be explained which is an important concept related to OOP. Inheritance - Challenge 1: Implement the Derived Class Can you Implement the Derived Class function by using the Base Class functions? A solution is placed in the “solution” section to help you, but we would suggest you try to solve it on your own first. Inheritance - Types of Inheritance In the previous lessons, you covered the basics of inheritance. In this lesson, you will learn about the various types of inheritance in Java. Classes and Objects - Declaration and Implementation In this lesson, you will learn about the declaration and implementation details of a class. Polymorphism - Polymorphism in OOP In this lesson, we will be implementing polymorphism using the OOP concepts. Polymorphism - Method Overriding In this lesson, you’ll be learning about what method overriding is and how to achieve it in Java. Inheritance - Quiz Let’s test your understanding of Inheritance with the help of this short quiz. Polymorphism - Difference Between the Overloading and Overriding of Methods In this lesson, you will get familiar with the differences between method overloading and method overriding. Polymorphism - Challenge 3: Implement an Account Class using the Concepts of Polymorphism In this challenge, we’ll implement an Account class along with two derived classes, Savings and Current. Polymorphism - Solution Review: Implement an Account Class Using the Concepts of Polymorphism This review provides a detailed analysis to solve the ‘Implement an Account Class Using the Concepts of Polymorphism’ challenge. Abstract Classes and Interfaces - What is Abstraction? This lesson is to get familiarized with a very important concept of OOP namely abstraction. Abstract Classes and Interfaces - Solution Review: Implement an Interface This review provides a detailed analysis to solve the ‘Implement an Interface’ challenge. Composition, Aggregation and Association - Composition In this lesson, you’ll learn how to achieve composition in Java. Composition, Aggregation and Association - Solution Review: Playing with Cars and Engines! This lesson provides the solution to the challenge, “Playing with Cars and Engines!” with an explanation. Introduction to Object-Oriented Programming - Modern Object-Oriented Languages This lesson is about the currently used most popular Object-Oriented Programming languages and how Java is preferable among all. Polymorphism - Solution Review: Implement and Override the Method in the Derived Class This review provides a detailed analysis to solve the ‘Implement and Override the Method in the Derived Class’ challenge. Classes and Objects - Introduction to Classes In this section, you will get familiar with the basic building blocks of Object-Oriented Programming: Classes. Composition, Aggregation and Association - Solution Review: Aggregate `Em All! This is the solution to the exercise, “Aggregate `Em All!” with an explanation. Classes and Objects - Quiz A short quiz to test your understanding of classes in Java Classes and Objects - Challenge 2: Calling a Constructor from a Constructor Can you call a constructor from another constructor? A solution is placed in the “solution” section to help you, but we would suggest you try to solve it on your own first. Composition, Aggregation and Association - Solution Review: Associate Vehicle and Its Driver This lesson gives the solution to the challenge: “Associate Vehicle and Its Driver”, with a brief explanation. Composition, Aggregation and Association - Conclusion A few final words before we end this course Classes and Objects - Challenge 1: Square Numbers and Return their Sum In this challenge, you need to implement a method which squares passing variables and return their sum. Abstract Classes and Interfaces - Multiple Inheritance In this lesson, you’ll learn what multiple inheritance is and how it can be implemented in Java. Abstract Classes and Interfaces - Solution Review: Implement an Abstract Method in a Base Class This review provides a detailed analysis to solve the ‘Implement an Abstract Method in a Base Class’ challenge. Composition, Aggregation and Association - Challenge 2: Aggregate `Em All! In this exercise, you have to perform aggregation between 3 classes.
About the Learn Object-Oriented Programming in Java (Educative) category [Learn Object-Oriented Programming in Java (Educative)] (1)