Problem Statement
Differentiate between default and parameterised constructors with examples.
Explanation
A default constructor takes no arguments; it either is provided implicitly or defined explicitly. A parameterised constructor takes one or more parameters for initialization. Example in Java: class Person { Person() { } Person(String name) { this.name=name; } } The difference influences how objects are created and initialised.
