Should super be the first line in constructor?

Subclass Constructors Invocation of a superclass constructor must be the first line in the subclass constructor. super(); … Object does have such a constructor, so if Object is the only superclass, there is no problem.

Sizin İçin Seçtik  How do I get alerts on dialog?

Leave a Reply

Your email address will not be published. Required fields are marked *