Does Java need an empty constructor?

Every tutorial I saw said : every entity needs an empty constructor . But Java always give you a default invisible empty constructor (if you don’t redefine one). … But Java always gives you this empty constructor when you don’t redefine it (write an other one with parameters).

Sizin İçin Seçtik  Why do we use super in constructor Java?

Leave a Reply

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