Google News
logo
Perl - Quiz(MCQ)
What is called when an object is created in Perl?
A)
Variable
B)
Destructor
C)
Constructor
D)
All of the above

Correct Answer :   All of the above


Explanation : The constructor of a class is the first subroutine to be called when an object of that class is initiated.

Advertisement