CDATA is required for the first expression, because of the ‘<’. The CDATA protects the content.
Otherwise you would have to use < instead of the < character.
So the second expression does not need it. Although it would not harm.
I wrote “Otherwise you would have to use & l t ; instead of the < character.” without the spaces between the letters. Obviously this got automatically replaced.
Meening the html entity instead of the character. See https://www.w3schools.com/html/html_entities.asp e.g.