Oracle Interview Question

3 questions in written test 1 hour time. Core Java questions/puzzles.