单项选择题

File类的方法中,用于列举某目录下的子目录及文件的方法是()

A.long length()
B.long lastModified()
C.String [] list()
D.String getName()