Practice 20 Facebook Java Developer interview questions covering system design, scalability, and backend engineering.
Question 5 of 20
How to Answer
Example Answer
Community Answers

William Swansen has worked in the employment assistance realm since 2007. He is an author, job search strategist, and career advisor who helps individuals worldwide and in various professions to find their ideal careers.
You may note that this question asks you for your opinion, even though it is technical. Not all technical questions have finite answers. Some may be relevant to the work you do or the type of experience you have writing programs. It is okay to state an opinion about a topic as long as you can support your answer. When asked a question of this type during the interview with Facebook, you can anticipate follow-up questions asking why you believe this to be the right answer.

William Swansen has worked in the employment assistance realm since 2007. He is an author, job search strategist, and career advisor who helps individuals worldwide and in various professions to find their ideal careers.
"This is an interesting question. If you ask the current Java developers working here at Facebook, some will say that Java is pass by value, while the others will say pass by reference. In my opinion, Java is pass by value. This is how it is defined in the Java Spec. Java method parameters directly associate variable passing and method calling. The exception is when we pass a reference of complex types defined as method parameters, the memory address is copied to a new reference variable."
Write Your Answer
0 - Character Count
Prepare for Facebook's rigorous technical interviews with expert-vetted Java questions.
Get StartedJump to Question

Written by William Swansen
20 Questions & Answers • Facebook

By William

By William