public class Main {
public static void main(String[] args) {
String m =Integer.toBinaryString(120);
System.out.println(m);
int ss=Integer.valueOf(m,2);
ss&=ss-1;
System.out.println(ss);
String t =Integer.toBinaryString(ss);
System.out.println(t);
}
}
标签:java,String,ss,System,println,Integer,暂存,out From: https://blog.51cto.com/u_15883840/5870665