String class in salesforce
In Java (the language upon which Apex is based) there is a difference in terms of where that String gets stored in the String literal pool. Apex simply disallows the use of the constructor so that all strings are stored in a pool. This has a variety of implications in terms of memory storage and security, which is why…
Answered Apr 14, 2021 · 578 Views Read answer →