单项选择题

关闭流的方法是()

A.close()
B.flush()
C.write(char[]c)
D.write(Stringstr)