Phenom interview question

Logical questions,puzzles and Java interview questions.