Does my tax return take into account the fact that I only worked half a year, but was taxed a full year's salary?

Do I have to specify somewhere that I only worked half a year?