Destructor's in Perl are ___

17. Destructor's in Perl are ___.

  1. Used for cleanup of reference of objects
  2. Called at the start of the program
  3. Not a program
  4. All of these

Answer: A) Used for cleanup of reference of objects

Explanation:

Destructors in Perl are called when the object goes out of scope. It is used to clean up the reference of the object.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.