Can you have a blank constructor in Java?

You don’t have to define a constructor for a class, but if you don’t define any constructor, the Java compiler will insert a default, no-argument constructor for you .

Sizin İçin Seçtik  What is Binance chain based on?

Leave a Reply

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