public class TransCode1{
private int data;
public void TranCode(int data){
this.data=data;
}
public void printComplement(){
for(int i=0;i<32;i++){
int t=(data &(0x80000000>>>1))>>>(31-i);
System.out.print(t);
}
}
public static void main(String[] args){
TransCode transCode=new TransCode();
transCode.printComplement();
}
}
qq___524
相关分类