PrepAway - Latest Free Exam Questions & Answers

Which of the following lines of code has the same effect as the preceding code?

Consider the following program code:
%employees = (“Lucy”, “Accounting”, “Armando”, “Finance”,
“Adrienne”, “Marketing”);
delete($employees{“Lucy”});
Which of the following lines of code has the same effect as the preceding code?

PrepAway - Latest Free Exam Questions & Answers

A.
%employees = (“Adrienne”, “Marketing”);

B.
%employees = (“Lucy”, “Accounting”);

C.
%employees = (“Lucy”, “Accounting”, “Armando”, “Finance”);

D.
%employees = (“Armando”, “Finance”, “Adrienne”, “Marketing”);


Leave a Reply