开发者社区> 问答> 正文

Java中public int read(int r)throws IOExceptio方法是什么?

Java中public int read(int r)throws IOExceptio方法是什么?

展开
收起
cuicuicuic 2021-11-16 22:54:46 375 0
1 条回答
写回答
取消 提交回答
  • 这个方法从 InputStream 对象读取指定字节的数据。返回为整数值。返回下一字节数据,如果已经到结尾则返回-1。

    2021-11-17 10:55:21
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Spring Cloud Alibaba - 重新定义 Java Cloud-Native 立即下载
The Reactive Cloud Native Arch 立即下载
JAVA开发手册1.5.0 立即下载