62,614
社区成员
发帖
与我相关
我的任务
分享
import java.io.IOException;
public class test2 {
public static void main(String[] args) throws IOException {
System.out.println("input:");
int count=System.in.read();
/*
* 当没有从字节输入流中取出数据时返回的是读取的一个字节
* */
System.out.println("210的二进制表示为:"+Integer.toBinaryString(210));
System.out.println("0x4e00的二进制表示:"+Integer.toBinaryString(0x4e00));
System.out.println("output:");
System.out.println(count);
}
}