Lockheed Martin

Work in HR? Unlock Free Profile

Lockheed Martin Software Engineer Interview Question

I interviewed in Denver, CO and was asked:
"In Java 1.6, what is autoboxing? When does it occur?"
Add Tags [?]

Part of a Software Engineer Interview Review - one of 559 Lockheed Martin Interview Reviews

Answers & Comments

of 0
Autoboxing automatically casts from primitive data types to their object wrappers and back. It occurs at runtime - I said I was like 80-90% sure on that, but I'd want to look it up before I put money on it. There were only a couple of cases I could think of when it couldn't happen at compile time, and I wasn't sure if they really mattered. The interviewer said that was a good answer.
- Interview Candidate on Aug 16, 2010

To comment on this question, Sign In with Facebook or Sign Up

Tags are like keywords that help categorize interview questions that have something in common.