java basic grammar demo