Types of Java constructors in Java
Java Programming Language > Class, Object and Methods in java > Constructor
552
Answer:
There are two types of constructors in Java:
- Default constructor (no-arg constructor): A constructor is called Default Constructor when it does not have any parameter.
- Parameterized constructor: A constructor which has a specific number of parameters is called a parameterized constructor.
This Particular section is dedicated to Question & Answer only. If you want learn more about Java Programming Language. Then you can visit below links to get more depth on this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.