PrepAway - Latest Free Exam Questions & Answers

Which statement will print the capital attribute of the $kansas object?

Which statement will print the capital attribute of the $kansas object?

PrepAway - Latest Free Exam Questions & Answers

A.
print (“capital”=>$kansas);

B.
print {$kansas}=>(capital);

C.
print (capital)<={$kansas};

D.
print $kansas->{“capital”};

One Comment on “Which statement will print the capital attribute of the $kansas object?


Leave a Reply