<?phpclass ShoProductWriter{ public function write($shoproduct) { $str = "{$shoproduct->title}".$shoproduct->getProducer()."({$shoproduct->price})"; print $str; }}$c = new ShoProductWriter();$shoproduct1 = new shoproduct();
- 2 回答
- 0 关注
- 1224 浏览
添加回答
举报
0/150
提交
取消