Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Nothing happens if we do not specify the default constructor. However,
- Objects of that class can not be created using default constructor. It will give compilation error.
- Subclass of that class can not call super(). It will give compilation error.