Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
Java
10.1k+ articles
Difference Between
4.2k+ articles
Java-Functions
4.1k+ articles
Java Programs
2.1k+ articles
Java - util package
1.5k+ articles
Java-Collections
1.1k+ articles
java-basics
310+ articles
Java 8
100+ articles
Java-Classes
79 articles
Java-Functional Programming
12 articles
java-interfaces
77 posts
Popular Articles
Recent Articles
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 st
...read more
Java
java-interfaces
Picked
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 t
...read more
Java
Technical Scripter
Difference Between
java-interfaces
Picked
Technical Scripter 2020
Cloneable Interface in Java
Last Updated: 24 November 2020
The Java.lang.Cloneable interface is a marker interface. It was introduced in JDK 1.0. There is a method clone() in the Object class. Clonea
...read more
Java
Java-Collections
java-interfaces
Similar Topics
Java
10.1k+ articles
Difference Between
4.2k+ articles
Java-Functions
4.1k+ articles
Java Programs
2.1k+ articles
Java - util package
1.5k+ articles
Java-Collections
1.1k+ articles
java-basics
310+ articles
Java 8
100+ articles
Java-Classes
79+ articles
Java-Functional Programming
12+ articles
Why Java Interfaces Cannot Have Constructor But Abstract Classes Can Have?
Last Updated: 29 August 2021
Prerequisite: Interface and Abstract class in Java.A Constructor is a special member function used to initialize the newly created object. I
...read more
Java
Computer Subject
Java-Abstract Class and Interface
java-interfaces
Java Class vs Interfaces
Last Updated: 11 March 2025
In Java, the difference between a class and an interface is syntactically similar; both contain methods and variables, but they are differen
...read more
Java
Difference Between
java-interfaces
Java-Classes
Future and FutureTask in java
Last Updated: 08 February 2023
Prerequisite: Future and callableFuture:A Future interface provides methods to check if the computation is complete, to wait for its complet
...read more
Java
Technical Scripter
Java-Class and Object
java-interfaces
Technical Scripter 2018
Supplier Interface in Java with Examples
Last Updated: 08 October 2018
The Supplier Interface is a part of the java.util.function package which has been introduced since Java 8, to implement functional programmi
...read more
Java
java-basics
Java - util package
java-interfaces
Java 8
Function Interface in Java
Last Updated: 16 April 2025
The Function Interface is a part of the java.util.function package that has been introduced since Java 8, to implement functional programmin
...read more
Java
java-basics
Java - util package
Java-Functions
java-interfaces
Java 8
Static method in Interface in Java
Last Updated: 22 September 2021
Static Methods in Interface are those methods, which are defined in the interface with the keyword static. Unlike other methods in Interface
...read more
Java
Static Keyword
java-interfaces
Java Runnable Interface
Last Updated: 10 January 2025
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 t
...read more
Java
Java-Multithreading
java-interfaces
Interfaces and Inheritance in Java
Last Updated: 26 December 2024
A class can extend another class and can implement one and more than one Java interface. Also, this topic has a major influence on the conce
...read more
Java
java-inheritance
java-interfaces
Marker Interface in Java
Last Updated: 02 January 2025
Marker Interface in Java is an empty interface means having no field or methods. Examples of marker interface are Serializable, Cloneable a
...read more
Java
java-interfaces
Java Interface
Last Updated: 28 March 2025
An Interface in Java programming language is defined as an abstract type used to specify the behaviour of a class. An interface in Java is a
...read more
Java
java-interfaces
Java Comparator Interface
Last Updated: 16 April 2025
The Comparator interface in Java is used to sort the objects of user-defined classes. The Comparator interface is present in java.util packa
...read more
Java
java-interfaces
Nested Interface in Java
Last Updated: 10 January 2025
We can declare interfaces as members of a class or another interface. Such an interface is called a member interface or nested interface. In
...read more
Java
java-interfaces
1
2
3
4
5
6
>>
Last
1
2
3
4
5
6
>>
Last
1
2
3
4
>>
Last
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 !