java practices
java revision day-1