java二进制输出

System.out.println(Integer.toBinaryString(要输出的数));

原文地址:https://www.cnblogs.com/jskbk/p/5923970.html