---
title: "What's the difference between an Abstract Class and Interface in Java ?"  
description: "What's the difference between an Abstract Class and Interface in Java ?"  
author: "Anonymous User"  
published: 2019-09-06  
updated: 2019-09-06  
canonical: https://www.mindstick.com/forum/95339/what-s-the-difference-between-an-abstract-class-and-interface-in-java  
category: "java"  
tags: ["java", "programming language"]  
reading_time: 1 minute  

---

# What's the difference between an Abstract Class and Interface in Java ?

What's the [difference](https://www.mindstick.com/articles/157114/good-news-or-bad-news-and-the-difference-is) between an [Abstract](https://www.mindstick.com/forum/156718/when-to-use-abstract-classes-in-c-sharp) [Class and Interface](https://www.mindstick.com/forum/23098/difference-between-abstract-class-and-interface-in-java) in [Java](https://www.mindstick.com/articles/12214/web-development-company-in-india-laid-on-the-foundation-of-concrete-java-programming)?

## Replies

### Reply by Anonymous User

That is the basic difference between an **[abstract class](https://www.mindstick.com/articles/1430/abstract-class) and [interface](https://www.mindstick.com/articles/12101/interfaces-in-java-extending-interfaces)** is that an interface can only possess a declaration of public static methods with no concrete implementation. While an abstract class may have members with any access specifiers (public, private, etc.) with or without a concrete implementation.

A primary difference is the use of abstract classes and interfaces is that a class which implements an interface must implement all the methods of the interface while a class which inherits from an abstract class doesn't require the implementation of all the methods of its superclass.

The class can implement multiple interfaces but it can extend only one abstract class.


---

Original Source: https://www.mindstick.com/forum/95339/what-s-the-difference-between-an-abstract-class-and-interface-in-java

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
