1st java code