CIW
1D0-437 · Question #12
Which statement will print the capital attribute of the $kansas object?
The correct answer is D. print $kansas->{"capital"}. See the full explanation below for the reasoning.
Question
Which statement will print the capital attribute of the $kansas object?
Options
- Aprint ("capital"=>$kansas);
- Bprint {$kansas}=>(capital);
- Cprint (capital)<={$kansas};
- Dprint $kansas->{"capital"};
How the community answered
(56 responses)- A13% (7)
- B4% (2)
- C5% (3)
- D79% (44)
Community Discussion
No community discussion yet for this question.