Is a method having same name as that of it’s class?

3. Which of the following is a method having same name as that of it’s class? Explanation: A constructor is a method that initializes an object immediately upon creation. It has the same name as that of class in which it resides.

Sizin İçin Seçtik  Which 5G band does Canada use?

Leave a Reply

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