Hi all,
I'm trying to solve this question from Dan's topic exam.
class B {
public static void main(
String args[]) {
System.out.print(Integer.toHexString(Integer.MIN_VALUE)+",");
System.out.print(Integer.toHexString(Integer.MAX_VALUE));
}
}
What is the result of attempting to compile and run the program?
**************************
Is there a shortcut way to know the bit format of Integer.MIN_VALUE instead of determining it by , repeated division of smallest integer value by 2.
also, what is the bit representation of Integer.MIN_VALUE?
Thanks in advance
Sharda.