What would be printed during execution of the following program?
public class TestClass
{
public static void main(
String args[])
{
System.out.print(" "+(1<<33)+" "+(1<<32)+" "+ Integer.toHexString(1<<31) );
}
}
I don't seem to understand in depth the binary conversions
so I have a formula for >>, <<, >>> in terms of multiplication and division.
but for complicated cases like these can anyone suggest a simple solution
i am taking the exam on the 5th FEB
thanx