Archive for the 'Exception' Category



Sometimes I ask an unboxing question during Java interviews. “What can happen with unboxing? See this code:”

Integer i1;

// do some things with i1;

int i2 = i1;

The thing that can happen is that i1 is NULL which will result in a NullPointerException being thrown.
“What is the problem with the NPE here?” There are several […]




RSS

About

Stephan Schmidt is the project manager for Reposita. He is one of the founders of SnipSnap and is the lead on Radeox. Stephan has been working as a project manager and CTO and is currently a team manager at ImmobilienScout24 in Berlin. He can be reached at stephan@reposita.org. All views are only his own.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.