A constructor that accepts_____parameter(s) is called the default constructor.
Answers
Answered by
6
A constructor that accepts no parameter is called default constructor.
What is constructor?
Answer:- A constructor is a special method which is used to initialize objects. It may or may not contain any parameter.
There are three types of constructors in java.
- Default constructor.
- Parameterised Constructor.
- Non parameterised constructor.
Answered by
0
______________________________________________
Similar questions