Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Java
10.5K+ articles
Java-Functions
4.1K+ articles
Difference Between
3.6K+ articles
Java - util package
1.5K+ articles
Java-Collections
1.1K+ articles
java-basics
320+ articles
Java 8
118+ articles
Java-Classes
79+ articles
java-inheritance
44+ articles
Java-Functional Programming
12+ articles
java-interfaces
77 posts
Recent Articles
Popular Articles
Understand Java Interface using Selenium WebDriver
Last Updated: 24 April 2025
Java Interface is a blueprint of the class that contains static constants and abstract methods. It cannot have a method body. The interface is a mechanism to achieve abstr...
read more
java-interfaces
selenium
Software Testing
Selenium
Difference Between Package and Interface in Java
Last Updated: 15 November 2023
In Java, packages and interfaces play crucial roles in organizing and structuring code. They serve different purposes and are used in distinct contexts. In this article, w...
read more
Java
Difference Between
java-interfaces
Geeks Premier League
Geeks Premier League 2023
How to Implement Multiple Inheritance by Using Interfaces in Java?
Last Updated: 08 April 2023
Multiple Inheritance is a feature of an object-oriented concept, where a class can inherit properties of more than one parent class. The problem occurs when methods with t...
read more
Java
java-inheritance
java-interfaces
Why to Use Comparator Interface Rather than Comparable Interface in Java?
Last Updated: 06 January 2025
In Java, the Comparable and Comparator interfaces are used to sort collections of objects based on certain criteria. The Comparable interface is used to define the natural...
read more
Java
java-interfaces
Software Testing
MatchResult Interface in Java
Last Updated: 18 February 2022
Interface in java is used to achieve abstraction. It is also considered as the blueprint for the class. An interface can contain abstract methods only but it might or migh...
read more
Java
java-interfaces
Picked
Difference Between ReadWriteLock Interface and ReentrantReadWriteLock Class in Java
Last Updated: 02 February 2022
ReadWriteLock is an interface in java. A ReadWriteLock allows us to add a thread-safety feature to a data structure while increasing throughput by allowing multiple thread...
read more
Java
Difference Between
java-interfaces
Picked
Java-Classes
Interface Naming Conflicts in Java
Last Updated: 18 February 2022
Interfaces in Java consist of abstract methods (which do not contain a body) and variables (which are public static final). Implementation of the methods of the interface ...
read more
Java
java-interfaces
Picked
Types of Interfaces in Java
Last Updated: 14 March 2023
In Java, an interface is a reference type similar to a class that can contain only constants, the method signatures, default methods, and static methods, and its Nested ty...
read more
Java
java-interfaces
Picked
Which Java Types Can Implement Interfaces?
Last Updated: 31 October 2022
In Java there is no concept of multiple-inheritance, but with the help of interface we can achieve multiple-inheritance. An interface is a named collection of definition. ...
read more
Java
java-interfaces
Picked
Blogathon
Blogathon-2021
Interfaces and Polymorphism in Java
Last Updated: 02 September 2021
Java language is one of the most popular languages among all programming languages. There are several advantages of using the java programming language, whether for securi...
read more
Java
Java-Object Oriented
java-interfaces
Picked
Controlling the Visibility of Class and Interface in Java
Last Updated: 22 February 2021
Maintenance is one of the important aspects of software development, and experience has shown that software that maintains its component's visibility low is more maintaina...
read more
Java
java-interfaces
Picked
Java-Classes
Java-Modifier
Difference Between Callable and Runnable in Java
Last Updated: 16 August 2022
java.lang.Runnable is an interface that is to be implemented by a class whose instances are intended to be executed by a thread. There are two ways to start a new Thread –...
read more
Java
Technical Scripter
Difference Between
java-interfaces
Picked
Technical Scripter 2020
Implement Interface using Abstract Class in Java
Last Updated: 06 February 2023
Interface contains only abstract methods that can't be instantiated and it is declared by keyword interface. A class that is declared with the abstract keyword is known as...
read more
Java
Technical Scripter
Java-Abstract Class and Interface
java-interfaces
Picked
Technical Scripter 2020
Are All Methods in a Java Interface are Abstract?
Last Updated: 16 January 2023
In Java, the interface is called a blueprint of a class and it is used to achieve abstraction in java. By using interfaces only we can achieve multiple inheritances in jav...
read more
Java
Java-Abstract Class and Interface
java-interfaces
Picked
ReadWriteLock Interface in Java
Last Updated: 28 January 2021
A lock is a device for commanding access to an assigned resource by multiple threads. Usually, a lock grants exclusive access to a shared resource: just one thread at a fl...
read more
Java
Technical Scripter
java-interfaces
Picked
Java-concurrent-package
Technical Scripter 2020
1
2
3
4
5
6
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !