My java code demo