Computer Science, asked by chowdhurymita49, 5 months ago

5 Contractor programs java

Answers

Answered by arushi22saket
1

Answer:

No-Arg Constructor

Parameterized Constructor

Default Constructor

Explanation:

Constructor types:

No-Arg Constructor - a constructor that does not accept any arguments

Parameterized constructor - a constructor that accepts arguments

Default Constructor - a constructor that is automatically created by the Java compiler if it is not explicitly defined.

please rate me

Similar questions