For questions about Constructor Inheritance, the Object-Oriented Programming concept that constructors of a subclass must begin by invoking a constructor from the superclass.
In object-oriented programming languages, subclass construction typically must begin with the invocation of a constructor from the superclass.
In most languages, this can be done with the super
keyword, or left as an implicit default constructor.
super(args);
However, to reduce the size of code, Java gives the option to instead call a different constructor from the same class, using the this
keyword:
this(args, 1.5F);
See also: oop