能向内部直接写入数据的流是( )。
2023-04-24
A . FileOutputStream
B . FileInputStream
C . ByteArrayOutputStream
D . ByteArrayInputStream
参考答案:C
参考解析:
本题考查Java的内存读写。在java.io中,还提供了ByteArrayInputStream、ByteArrayOutput-Stream和StringBufferInputStream类可直接访问内存,它们是InputStream和OutputStream的子类。用ByteArrayOut-putStream可向字节数组写入数据;ByteArraylnputStream可从字节数组中读取数据。
![]( //img1.runjiapp.com/duoteimg/tiku/images/pc/questionBank/main-list-title-icon.png)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_96.jpg)
在长度为n的线性表中,降序排列,则寻找最大项最少需要的软( )次。
2023-04-24
计算机考级
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_23.jpg)
2023-04-24
计算机考级
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_3.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_71.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_84.jpg)
若有定义语句:double a,*p=&a;,以下叙述中错误的是( )。
2023-04-24
计算机考级
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_93.jpg)
2023-04-24
计算机考级
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_58.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_66.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_44.jpg)
2023-04-24
计算机考级
热门标签