---
spec: JLS
title: "The Java Language Specification"
edition: "Java SE 25 Edition"
java_version: 25
chapter: "Chapter 8. Classes"
section: "8.8.3"
heading: "8.8.3. Constructor Modifiers"
parent: "8.8. Constructor Declarations"
source: https://docs.oracle.com/javase/specs/jls/se25/html/jls-8.html#jls-8.8.3
id: "8.8.3"
url: https://jvm.obfuscated.software/jls/se25/8.8.3.html
raw: https://jvm.obfuscated.software/jls/se25/8.8.3.md
---

# 8.8.3. Constructor Modifiers

```
ConstructorModifier:
  (one of)
  Annotation public protected private
```

The rules concerning annotation modifiers for a constructor declaration are specified in [§9.7.4](9.7.4.md) and [§9.7.5](9.7.5.md).

It is a compile-time error if the same keyword appears more than once as a modifier in a constructor declaration, or if a constructor declaration has more than one of the access modifiers `public`, `protected`, and `private` ([§6.6](6.6.md)).

In a normal class declaration, a constructor declaration with no access modifiers has package access.

If two or more (distinct) method modifiers appear in a method declaration, it is customary, though not required, that they appear in the order consistent with that shown above in the production for *MethodModifier*.

Unlike methods, a constructor cannot be `abstract`, `static`, `final`, `native`, `strictfp`, or `synchronized`:

- A constructor is not inherited, so there is no need to declare it `final`.
- An `abstract` constructor could never be implemented.
- A constructor is always invoked with respect to an object, so it makes no sense for a constructor to be `static`.
- There is no practical need for a constructor to be `synchronized`, because it would lock the object under construction, which is normally not made available to other threads until all constructors for the object have completed their work.
- The lack of `native` constructors is an arbitrary language design choice that makes it easy for an implementation of the Java Virtual Machine to verify that superclass constructors are always properly invoked during object creation.
- The inability to declare a constructor as `strictfp` (in contrast to a method ([§8.4.3](8.4.3.md))) is an intentional language design choice that stemmed from the (now obsolete) ability to declare a class as `strictfp`.
