Create answer.java

running code
http://ideone.com/IwIVCM