My practice with Java