1626Software EngineeringMedium
If method have same name as class name and method don’t have any return type then it is known as________?
AConstructor
BObject
CDestructors
DVariable
Correct answer
A. Constructor
Explanation
The correct answer is Constructor.