Given the following variables which of the following lines will compile without error? String s = "Hello"; long l = 99; double d = 1.11; int i = 1; int j = 0; 1) j= i <<s;> 2) j= i<<j;> 3) j=i<<d;> 4)j=i<<l;> ans is 2 & 4. why ans is also 4?
Ashish Jain<br />MCP, SJCP, IBM XML, SCEA
Been there. Done that. Went back for more. But this time, I took this tiny ad with me: