Memory allocation: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 1,070: | Line 1,070: | ||
t = Thingamajig.allocate</lang> |
t = Thingamajig.allocate</lang> |
||
=={{header|Scala}} The same as Java applies to Scala, because the VM will take of memory allocation by means of the Memory Manager. It's not a programmer concern. |
|||
=={{header|SNOBOL4}}== |
=={{header|SNOBOL4}}== |
||
In SNOBOL4, simple data values are just created and assigned to variables. Here, three separate strings are concatenated and stored as a newly allocated string variable: |
In SNOBOL4, simple data values are just created and assigned to variables. Here, three separate strings are concatenated and stored as a newly allocated string variable: |