CIW PERL FUNDAMENTALS 1D0-437 Question # 24 Topic 3 Discussion

CIW PERL FUNDAMENTALS 1D0-437 Question # 24 Topic 3 Discussion

1D0-437 Exam Topic 3 Question 24 Discussion:
Question #: 24
Topic #: 3

Consider the following program code:

$var = 10;

package Alpha;

$var = 20;

{

package Beta;

$var = 30;

}

package Gamma;

$var = 40;

{

print $var;

}

What is the output of this code?


A.

10


B.

20


C.

30


D.

40


Get Premium 1D0-437 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.