FileChannel 提供了一种通过通道来访问文件的方式,可以如何获得FileChannel 对象?()A....
A.通过FileInputStream,FileOutputStream,RandomAccessFile的实例方法getChannel()来获取
B.通过静态方法FileChannel.open(Path,OpenOption …)来获取
C.通过new FileChannel(Path,OpenOption …)来创建
D.通过Socket的实例方法getChannel()来获取