Of course they do, regardless of the language. That is why we have things such as string interning for instance. :)