What is same as class name in Java?

Every class object is created using the same new keyword, so it must have information about the class to which it must create an object. For this reason, the constructor name should be the same as the class name.

Sizin İçin Seçtik  Udemy e nasıl kayıt olunur?

Leave a Reply

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