FOR a IN animals
a.eat()
}
}
------------------以上为示例程序----------------
------------------以下是执行结果----------------
I eat like a generic Animal.
I eat like a wolf!
I eat like a fish!
I eat like a goldfish!
I eat like a generic Animal.作者: kaile 时间: 10-11-2009 22:30
没有;,看不习惯作者: yuba 时间: 10-11-2009 23:10