N

Nisha Gupta • 2.32K Points
Master

Q. What is called when an object is created in Perl?

  • (A) Destructor
  • (B) Constructor
  • (C) Variable
  • (D) All of these

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.