https://www.lambda java constructorjavatpoint.com/java-constructor code example
Example 1: java constructor
class MyClass {
public MyClass () {
//constructor code
}
}
Example 2: default constructor java
Default constructor is a constructor created by compiler; if user does not
create a constructor in a class.
If user defines a constructor in a class then java compiler will not create
default constructor.