Should be the first statement in the constructor?

The Eclipse compiler says “Constructor call must be the first statement in a constructor”. So, it is not stopping you from executing logic before the call to super . It is just stopping you from executing logic that you can’t fit into a single expression. There are similar rules for calling this().11 Tem 2019

Sizin İçin Seçtik  Why my course is not showing in Udemy?

Leave a Reply

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