Created application to learn invoking of methods by creating object of class.