My favorite codes when learning Java