code on Java basics.