Question #90233

If method have same name as class name and method don’t have any return type then it is known as______________?


Options:

Answer: If method have same name as class name and method don’t have any return type then it is known as Constructor.

Test Your Knowledge

Want to practice more questions like this? Take a quiz in this category!

Take a Quiz

Share This Question