Promotion
CodeGym University
Learning
Course
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme
Group
Reviews
About us
Start
Start learning
Start learning now
Articles
Authors
All groups
All Articles List
CodeGym
/
Java Blog
/
Java Interfaces
Java Interfaces
95 members
Leaderboard
Popular
New
Old
Aditi Nawghare
Java Interfaces
18 March 2019 9:53
The difference between abstract classes and interfaces
Hi! In this lesson, we'll talk about how abstract classes differ from interfaces and consider some examples with common abstract classes. We've devoted a separate lesson to the differences between an abstract class and an interface, because this topic is very important...
Volodymyr Portianko
Java Interfaces
16 March 2019 7:58
Default methods in interfaces
Every new version of Java differs from those that came before. Here's an example of changes in material that we've covered: before Java 5, the language didn't have enums. Similarly, Java 8 differs markedly from Java 7. Most of our lessons were written for the 7th version of the language...
Artem Divertitto
Java Interfaces
25 July 2019 14:23
Java's Comparator interface
The lazy aren't the only ones to write about Comparators and comparisons in Java. I'm not lazy, so please love and gripe about yet another explanation. I hope it will not be superfluous. And yes, this article is the answer to the question: "Can you write a comparator from memory?" I hope everyone will be able to write...
Aditi Nawghare
Java Interfaces
27 November 2019 10:16
The Java Set as an Interface
A set is simply a collection of unique objects. Unique means that no two objects can have the same value(s). Depending on the implementation of the set, it may or may not be ordered. The Java set, as an Abstract Data Type (ADT), has a few key operations (where T represents any data type e.g. int, String, or any class...
Artem Divertitto
Java Interfaces
19 November 2020 14:46
Java Predicate with Examples
Generally predicate means a statement that determines whether a value could be true or false. In programming predicates mean functions with one argument that return a boolean value. Functional Interface Predicate was realised in Java 8. “Functional” means...
Milan Vucic
Java Interfaces
17 June 2022 12:08
Implements in Java
When some talk about the Java OOP paradigm of inheritance, they usually mean extending a parent class with an inheritor, a child class. However when you come across the Java implements keyword, it means that we move to another level of abstraction and start working...
Jesse Haniel
Java Interfaces
20 January 2023 15:25
Interface in Java
As you know, everything in Java consists of objects, and objects have state (fields) and behavior (defined by methods). The behavior of a class is what can bind it to other classes. Behavior can have different characteristics, and sometimes it can be more convenient to move it outside the class...
Please enable JavaScript to continue using this application.