Pergunta de entrevista da empresa McAfee

Does Java pass variables by reference or by value?