Basic codes learnt as a part of Java Training