Tip 8Be a Specialist

“How would you write a program, in pure Java, that would make the Java Virtual Machine crash?” Dead silence. “Hello?”

“I’m sorry. I’m not getting you. Could you repeat the question, please?” The voice sounded desperate. I knew from experience that repeating the question wasn’t going to help. So, I repeated the question, slowly and more loudly. “How would you write a program, in pure Java, that would cause the Java Virtual Machine to crash?”

“Uh…I’m sorry. I’ve never done that before.”

“I’m sure you haven’t. How about this question: how would you write a program that would NOT cause the JVM to crash?”

I was looking for really good Java programmers. To start the interview, I asked this person (and all the others I had ...

Get The Passionate Programmer now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.