CodeGym /Courses /Module 2. Java Core /Additional lessons for the level

Additional lessons for the level

Module 2. Java Core
Level 4 , Lesson 8
Available

Why Java needs interfaces

In this lesson, we'll talk about an important concept in Java: interfaces. You're probably familiar with the word. For example, interfaces are part of most computer programs and games. In a broad sense, an interface is a kind of "control panel" that connects two interacting parties. See the lesson to learn what exactly this word means in Java.

Useful materials

As the author of this short series of articles writes, these materials will benefit those who have figured out how to create interfaces, understand how interface inheritance works, and have implemented several examples, but still do not understand the why. The material below addresses the "application" of interfaces:

The difference between abstract classes and interfaces

In this lesson, you'll learn how abstract classes differ from interfaces, and you'll see examples of common abstract classes.

The difference between an abstract class and an interface is important. You will be asked about the difference between these concepts in 90% of your future job interviews. So be sure you understand what you read.

8
Task
Java Core, level 4, lesson 8
Locked
Bridges
Bridges
8
Task
Java Core, level 4, lesson 8
Locked
Wine tasting
Wine tasting
16
Task
Java Core, level 4, lesson 8
Locked
User, loser, coder and programmer
User, loser, coder and programmer
4
Task
Java Core, level 4, lesson 8
Locked
Implement the printMainInfo method
Implement the printMainInfo method
8
Task
Java Core, level 4, lesson 8
Locked
Computer
Computer
16
Task
Java Core, level 4, lesson 8
Locked
MovieFactory
MovieFactory
8
Task
Java Core, level 4, lesson 8
Locked
Janitorial services
Janitorial services
8
Task
Java Core, level 4, lesson 8
Locked
Fixing bugs
Fixing bugs
16
Task
Java Core, level 4, lesson 8
Locked
Currencies
Currencies
8
Task
Java Core, level 4, lesson 8
Locked
Fix four mistakes
Fix four mistakes
8
Task
Java Core, level 4, lesson 8
Locked
Exception invasion
Exception invasion
16
Task
Java Core, level 4, lesson 8
Locked
GCD
GCD
8
Task
Java Core, level 4, lesson 8
Locked
Singleton
Singleton
Comments (3)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
Abhishek Tripathi Level 72, Rewa, India Expert
20 September 2023
Why do we need interface inheritance? This is the translation of the code check it only if you don't understand the Russian version
Abhishek Tripathi Level 72, Rewa, India Expert
19 September 2023
And please provide the content in English so we don't have to use google translator. It is not so accurate.
Abhishek Tripathi Level 72, Rewa, India Expert
19 September 2023
in this lesson = https://codegym.cc/groups/posts/101-why-interfaces-are-necessary-in-java