Java code is right


#1

This is the right code for java