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

# 13.4.24. Method Overriding

If an instance method is added to a subclass and it overrides a method in a superclass, then the subclass method will be found by method invocations in pre-existing binaries, and these binaries are not impacted.

If a class method is added to a class, then this method will not be found unless the qualifying type of the reference is the subclass type.
