---
spec: JLS
title: "The Java Language Specification"
edition: "Java SE 8 Edition"
java_version: 8
chapter: "Chapter 13. Binary Compatibility"
section: "13.4.1"
heading: "13.4.1. abstract Classes"
parent: "13.4. Evolution of Classes"
source: https://docs.oracle.com/javase/specs/jls/se8/html/jls-13.html#jls-13.4.1
id: "13.4.1"
url: https://jvm.obfuscated.software/jls/se8/13.4.1.html
raw: https://jvm.obfuscated.software/jls/se8/13.4.1.md
---

# 13.4.1. `abstract` Classes

If a class that was not declared `abstract` is changed to be declared `abstract`, then pre-existing binaries that attempt to create new instances of that class will throw either an `InstantiationError` at link time, or (if a reflective method is used) an `InstantiationException` at run time; such a change is therefore not recommended for widely distributed classes.

Changing a class that is declared `abstract` to no longer be declared `abstract` does not break compatibility with pre-existing binaries.
