---
title: "Can we instantiate abstract class"  
description: "Can we instantiate abstract class"  
author: "Anonymous User"  
published: 2015-07-24  
updated: 2020-09-19  
canonical: https://www.mindstick.com/interview/2732/can-we-instantiate-abstract-class  
category: "java"  
tags: ["java", "abstract class"]  
reading_time: 1 minute  

---

# Can we instantiate abstract class

You are not creating the instance of your abstract class here. Rather you are creating an instance of an anonymous subclass of your abstract class. And then you are invoking the method on your abstract class reference pointing to subclass object.

## Answers

### Answer by Anonymous User

You are not creating the instance of your abstract class here. Rather you are creating an instance of an anonymous subclass of your abstract class. And then you are invoking the method on your abstract class reference pointing to subclass object.


---

Original Source: https://www.mindstick.com/interview/2732/can-we-instantiate-abstract-class

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
