First java code