educative.io

Learn Object-Oriented Programming in Java (Educative)


Classes and Objects - Constructors In this lesson, the world of constructors is explored and you'll learn why they are necessary for a class. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/m2yR7DX4YJE). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/393LwGnnyAA). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/xVrPQRLW6lz). Polymorphism - Quiz Let's test your understanding of the concept of polymorphism with the help of a short quiz. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/xl9Q8z557MP). Abstract Classes and Interfaces - Quiz Let's test your understanding of Abstract Classes and Interfaces with the help of a short quiz. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/qVjyM5PZj33). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/JYpWQKvpB1v). Composition, Aggregation and Association - A Brief Introduction In this lesson, we will learn about different relationships between classes. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/7nVBGyRPmEA). Composition, Aggregation and Association - Aggregation In this lesson, you'll get familiar with a new way of linking different classes. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/39lJrRrD5gO). Composition, Aggregation and Association - Association In this lesson, you'll learn about the relationship between two unrelated objects i.e. Association in Java. View the lesson [here](https://www.educative.io/collection/page/10370001/5692479535841280/4724633016205312). 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! View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/mE7YnvMj00R). Polymorphism - Challenge 3: Implement an Account Class using Polymorphism In this challenge, we'll implement an Account class along with two derived classes, Savings and Current. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/qAZpwwMq8Pk). Introduction to Object-Oriented Programming - A Brief Introduction This lesson welcomes you to the world of Object Oriented Programming. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/7DoMwjGw89Q). Classes and Objects - Fields This lesson will go into the details of the fields of a class. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/qV2X5pyAvo7). Classes and Objects - Methods In this lesson, you will get to know about the role of methods in classes. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/JE8Gg1qqlDD). Classes and Objects - A Bit More about Constructors In this lesson, you will learn a bit more about constructors. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/qV10v1215Y0). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/7nkAqD2xB9Q). Data Hiding - Quiz Test your knowledge on data hiding with this theoretical quiz! View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/mERQ0xQAkDn). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/YQXLE2rX6J2). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/RM2pOE0x5Jq). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/JYK3Kkx716y). Data Hiding - Encapsulation In this lesson, you'll get familiar with the component of data hiding i.e. Encapsulation. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/YQlg26YgLRW). Data Hiding - Solution Review: Implement the Complete Student Class This review provides a detailed analysis to solve the 'Implement the Complete Student Class' challenge. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/Bn4y7NpvRQo). Inheritance - Advantages of Inheritance In this lesson, you'll get to know about the advantages of using Inheritance. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/x1zjRJG90Gl). Inheritance - Solution Review: Implement the Derived Class This review provides a detailed analysis to solve the 'Implement the Derived Class' challenge. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/xl2p97ypj4B). Abstract Classes and Interfaces - Interfaces In this lesson, another important topic of Java abstraction is covered i.e. Interfaces. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/JEX2zpqGjNP). Inheritance - What is Inheritance? In this lesson, you will be introduced to Inheritance, a powerful concept of Object-Oriented Programming. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/g7Pv2oJrDYY). Polymorphism - Dynamic Polymorphism In this lesson, you will learn about the concepts of dynamic polymorphism. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/B8PKlR6kp1x). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/3jZZN6YE89R). Inheritance - Solution Review: Implement the Parametrized Constructor This review provides a detailed analysis to solve the 'Implement the Parametrized Constructor' challenge. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/YVP5Z9wopWY). Polymorphism - What is Polymorphism? In this lesson, the concept of Polymorphism will be explained which is an important concept related to OOP. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/xVJv92BVgYE). Abstract Classes and Interfaces - Solution Review: Implement an Interface This review provides a detailed analysis to solve the 'Implement an Interface' challenge. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/gxk21GmEyvl). Polymorphism - Method Overriding In this lesson, you'll be learning about what method overriding is and how to achieve it in Java. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/NEW10MR1B76). Polymorphism - Solution Review: Implement an Account Class using Polymorphism This review provides a detailed analysis to solve the ‘Implement an Account Class using Polymorphism’ challenge. Abstract Classes and Interfaces - What is Abstraction? This lesson is to get familiarized with a very important concept of OOP namely abstraction. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/mEQxA4pvxAR). Polymorphism - Polymorphism in OOP In this lesson, we will be implementing polymorphism using the OOP concepts. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/B8ng0xp6MoW). Composition, Aggregation and Association - Composition In this lesson, you'll learn how to achieve composition in Java. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/JQxmgL024qg). Polymorphism - Difference between Static and Dynamic Polymorphism In this lesson, you will learn about the differences between static and dynamic polymorphism. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/JEyGDN0J4oo). Polymorphism - Solution Review: Implement and Override Method This review provides a detailed analysis to solve the 'Implement and Override the Method in the Derived Class' challenge. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/my3xXlml4E0). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/N73DnKlMYmK). Composition, Aggregation and Association - Solution Review: Aggregate `Em All! This is the solution to the exercise, "Aggregate `Em All!" with an explanation. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/7nBKgx3AK51). Classes and Objects - Introduction to Classes In this section, you will get familiar with the basic building blocks of Object-Oriented Programming: Classes. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/xV6gx5M19XP). Composition, Aggregation and Association - Conclusion A few final words before we end this course View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/3j31YRwyrpr). Classes and Objects - Quiz A short quiz to test your understanding of classes in Java View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/q2pYzB4Y3pR). Abstract Classes and Interfaces - Multiple Inheritance In this lesson, you'll learn what multiple inheritance is and how it can be implemented in Java. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/JPgRDO3LMlD). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/3jL6AM9qx4A). Classes and Objects - Access Modifiers In this lesson, you will learn about the private, public and protected data members. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/xlyoyVW7kQJ). Polymorphism - Challenge 2: Implement and Override the Method 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/m7qvMB8GYQp). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/qVXOL79AQv7). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/N78qYWQ5WND). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/JY1jRVo7nL2). Composition, Aggregation and Association - Quiz Test your knowledge of composition, aggregation, and association in this fun quiz! View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/qAvrQEPojz0). Abstract Classes and Interfaces - Abstract Classes and Methods In this lesson, you'll get to know about the abstract classes and methods. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/7DWvDjPqmO8). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/7ADOq1QOq4B). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/Y5rgmXJ57ZW). Inheritance - Quiz Let's test your understanding of Inheritance with the help of this short quiz. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/mEGo4AXBxVp). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/q23mW4NQl0p). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/q28K6wm2G23). Composition, Aggregation and Association - Challenge 1: Associate Vehicle and Its Driver In this challenge, you have to perform association between two classes in Java. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/B1674OQERWX). Composition, Aggregation and Association - Challenge 2: Aggregate `Em All! In this exercise, you have to perform aggregation between 3 classes. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/m2AM7lQ9Bqn). Classes and Objects - Declaration and Implementation In this lesson, you will learn about the declaration and implementation details of a class. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/3jY32xAr3pR). Inheritance - The Syntax and Terminologies In this lesson, you will learn how to use inheritance syntactically and the terminologies related to it. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/qAXDNK8QB6y). Data Hiding - Understanding Encapsulation Using Examples In this lesson, you will get a firmer understanding of encapsulation in Java with the help of examples. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/3j67WRw02Rr). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/7nv3nlKxz7r). Inheritance - Super Keyword In this lesson, you'll get to know about the uses of the super keyword in Java. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/qZNQMQV6MDR). Classes and Objects - Solution Review: Implement a Calculator Class This review provides a detailed analysis to solve the 'Implement a Calculator Class' challenge. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/7DolY00vlNO). 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 View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/3jQXqQ1mmvx). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/YQVkDpLkvNM). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/g2oO86x6mor). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/myz4wDnP8MG). 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. View the lesson [here](https://www.educative.io/courses/learn-object-oriented-programming-in-java/N0AOYxLBpBp).
About the Learn Object-Oriented Programming in Java (Educative) category [Learn Object-Oriented Programming in Java (Educative)] (1)
Using super() and this() in a constructor [Inheritance - Super Keyword] (2)