---
title: "Difference between Abstract class and interface in java"  
description: "Difference between Abstract class and interface in java"  
author: "Royce Roy"  
published: 2015-04-15  
updated: 2015-04-15  
canonical: https://www.mindstick.com/forum/23098/difference-between-abstract-class-and-interface-in-java  
category: "java"  
tags: ["java", "abstract class", "interface"]  
reading_time: 1 minute  

---

# Difference between Abstract class and interface in java

**W**hat is the [difference](https://www.mindstick.com/articles/157114/good-news-or-bad-news-and-the-difference-is) between [abstract classes and interfaces](https://www.mindstick.com/forum/158922/describe-the-difference-between-abstract-classes-and-interfaces-in-c-sharp) in [java](https://www.mindstick.com/articles/12214/web-development-company-in-india-laid-on-the-foundation-of-concrete-java-programming),both look very similar to me

## Replies

### Reply by Anonymous User

**[Abstract classes](https://www.mindstick.com/forum/158818/what-are-abstract-classes-in-oop-and-when-are-they-used):**1)An abstract class can have method body (non-abstract methods). 2)An abstract class can have instance variables. .3)An abstract class can have constructor. 4)An abstract class can have static methods. 5)You can extends one abstract class.\
**[Interfaces](https://www.mindstick.com/articles/12100/interfaces-in-java-real-life-example)**1)Interface have only abstract methods.2)An interface cannot have instance variables3)Interface cannot have constructor.4)Interface cannot have static methods.5)You can implement multiple interfaces.


---

Original Source: https://www.mindstick.com/forum/23098/difference-between-abstract-class-and-interface-in-java

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
