« | Main | »

April 21, 2010

Ah, another fairly easy Java interview question:

If the following line of code compiles and throws an exception when running, what are the valid static types of the variable v and the possible types of the thrown exception?
int i = v;


Posted by jeff at April 21, 2010 09:40 PM