//JAVA中移位原理的思考;
// 8 1000.0;
// 8 1000.0 >> 1-----> 100.00;
// 8 1000.0 >> 2-----> 10.000;
// 8 1000.0 >> 3-----> 1.0000;
class test1
{
public static void main(String[] args)
{
int a = 8;
int b = 8;
int c = 8;
double d = 8;
double e = 8;
System.out.println(Integer.toBinaryString(a >> 1));
System.out.println(Integer.toBinaryString(b >> 2));
System.out.println(Integer.toBinaryString(c >> 3));
}
}