What is meant by constructor in Java?

A constructor in Java is a special method that is used to initialize objects . The constructor is called when an object of a class is created.

Sizin İçin Seçtik  How do I know my Android SDK version?

Leave a Reply

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

What is meant by constructor in Java?

A constructor in Java is a special method that is used to initialize objects . The constructor is called when an object of a class is created.

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

Leave a Reply

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