Archive for the 'Interview' Category
Unboxing as a Java Interview Question
19 Comments Published May 14th, 2008 in Exception, Interview, Java, QuestionSometimes 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 […]
Job Interviews for Java Developers: Attention to Detail
21 Comments Published November 12th, 2007 in Interview, JavaSomeone has read my post about interviewing where I wrote about String reversal, but got it totally wrong. Ironic. He didn’t show much attention to detail, took quotes out of context, put things into my mouth that I’ve never said and concluded “Want a job? Reverse a string. The sad state of job interviews today.” […]
Cool things: Automatic Online Interview Questions with Janino
7 Comments Published November 11th, 2007 in Interview, JRuby, JavaLately I wrote about interview questions, specifically about asking how to write a String reverser method. When searching for a job as a PR-consultant my girl friend was sent a PDF to answer questions - which I guess the company uses to gather fresh ideas - and she had to send the answers back written […]
Java Interview questions: Write a String Reverser (and use Recursion!)
25 Comments Published November 9th, 2007 in Interview, Java, RecursionInterviewing developers for a programming job is hard and tedious. There are some excellent Guides, like the Joel Guerilla Guide to interviewing, but in the end you need to decide yourself to hire or not to hire. To get a quick idea about their programming abilities I have considered asking the String reverse question. Others […]