单项选择题

A.getGoodsPrice("book")//等于5
B.getGoodsPrice("pen")//等于2
C.getGoodsPrice("sticker")//等于1
D.getGoodsPrice("sock")//等于“sock”