Open sergiotaborda opened 8 years ago
Constructor extensions cannot call methods (currently). Data must be passed directly.
public class AssertionException extends Exception {
public constructor ();
public constructor (message : String) extends super (message);
}
named constructors must be handled
A constructor always must call another constructor until the primary constructor is called. When A inherits from B the constructor of B must be called at some point in the chain. The programmer may explicitly declare where the super constructor should be called
(in java backend constructors are final static methods )
Is necessary to define how to access the object the super constructor created