Hi,
I am going through Kathy Sierra
SCJP certification guide 1.4 and found the following error message printed when you try compiling a program with uninitialized instance variable.
Within main method
int x;
if(args[0] !=null)
{
x=7;
}
int y = x;
"variable x might not have been initialized"
But when i compile i get the following error message
"cannot resolve symbol".
I am using jdk 1.4.2_10. Could someone advice the version i am using is the reason for difference or not.