In Java, super() and this(), both are special keywords that are used to call the constructor.
this:
- this() represents the current instance of a class
- Used to call the default constructor of the same class
- Used to access methods of the current class
- Used for pointing the current class instance
- Must be the first line of a block
super:
- super() represents the current instance of a parent/base class
- Used to call the default constructor of the parent/base class
- Used to access methods of the base class
- Used for pointing the superclass instance
- Must be the first line of a block