java code

java code