Programming Misconceptions
Home
Misconceptions
Concepts
Languages
Textbooks
Contributors
About
Home
Languages
Java
jls21
Creation of New Class Instances
Java Language Specification, Version Java SE 21 Edition
12.5. Creation of New Class Instances
Read this Section of the Authoritative Specification
https://docs.oracle.com/javase/specs/jls/se21/html/jls-12.html#jls-12.5
2 Documented Misconceptions
ConstructorWithoutNew
One can write the constructor name, without new, to instantiate a class
NoEmptyConstructor
A constructor must do something
Find Misconceptions by...
Concept
Programming Language
Notional Machine
Textbook
About
About This Site
Structure and Content of the Inventory
Contributors