---
title: "Interface in java"  
description: "Interface in java"  
author: "Prakash nidhi Verma"  
published: 2018-07-07  
updated: 2020-09-24  
canonical: https://www.mindstick.com/interview/23459/interface-in-java  
category: "java"  
tags: ["java"]  
reading_time: 1 minute  

---

# Interface in java

interfaces in Java :

Interface means the attraction between user and application .static constants and abstract methods is consider in interface. The interface in java is a mechanism to achieve abstraction.It is used to achieve abstraction and multiple inheritance in Java.

- It is used for fully abstraction.

- functionality support of multiple inheritance.

- loose coupling.

- A public and abstract keywords before the interface method and static and final keywords before data members in java compiler.

syntax :

```
interface interface_name{}
```

## Answers

### Answer by Prakash nidhi Verma

interfaces in Java :

Interface means the attraction between user and application .static constants and abstract methods is consider in interface. The interface in java is a mechanism to achieve abstraction.It is used to achieve abstraction and multiple inheritance in Java.

- It is used for fully abstraction.

- functionality support of multiple inheritance.

- loose coupling.

- A public and abstract keywords before the interface method and static and final keywords before data members in java compiler.

syntax :

```
interface interface_name{}
```


---

Original Source: https://www.mindstick.com/interview/23459/interface-in-java

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
