单项选择题

A.必须返回void
B.可以返回任何需要的类型
C.必须返回int
D.必须返回String