Method in Perl is?

9. Method in Perl is?

  1. Time savers
  2. User to reuse code w/o retyping the code
  3. Collections of statement that perform specific tasks
  4. All of these

Answer: D) All of these

Explanation:

Method/subroutine in Perl is a block of code (collection of statements) that performs a specific task in peril.

It can save programmer time and user code as one function can be called multiple times.

Comments and Discussions!

Load comments ↻






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