<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Find Answers For ... - Recent questions tagged heap</title>
<link>https://find4answers.com/tag/heap</link>
<description>Powered by Question2Answer</description>
<item>
<title>Difference between String s = &quot;Marcus&quot;; vs String s2 = new String(&quot;Marcus&quot;);</title>
<link>https://find4answers.com/46/difference-between-string-marcus-string-new-string-marcus</link>
<description>&lt;p&gt;
	&lt;span class=&quot;postbody&quot;&gt;Hi please tell me difference between&lt;br&gt;
	&lt;span class=&quot;api&quot;&gt;String&lt;/span&gt; s = &quot;Marcus&quot;;&lt;br&gt;
	String s2 = new String(&quot;Marcus&quot;);&lt;br&gt;
	What happens in heap? &lt;/span&gt;&lt;/p&gt;</description>
<category>Java/J2EE</category>
<guid isPermaLink="true">https://find4answers.com/46/difference-between-string-marcus-string-new-string-marcus</guid>
<pubDate>Thu, 17 Nov 2011 09:58:48 +0000</pubDate>
</item>
<item>
<title>What and where are the stack and heap ?</title>
<link>https://find4answers.com/43/what-and-where-are-the-stack-and-heap</link>
<description>&lt;div class=&quot;post-text&quot;&gt;
	&lt;p&gt;
		Programming language books usually explain that value types are created on the stack, and reference types created on the heap, without really explaining what these two things are. With my only programming experience being in high level languages, I haven&#039;t read a clear explanation of this. I mean I understand what &lt;em&gt;a stack&lt;/em&gt; is, but where and what are they relative the to the physical memory of a real computer?&lt;/p&gt;
	&lt;ul&gt;
		&lt;li&gt;
			To what extent are they controlled by the OS or language runtime?&lt;/li&gt;
		&lt;li&gt;
			What is their scope?&lt;/li&gt;
		&lt;li&gt;
			What determines the size of each of them?&lt;/li&gt;
		&lt;li&gt;
			What makes one faster?&lt;/li&gt;
	&lt;/ul&gt;
&lt;/div&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Programming</category>
<guid isPermaLink="true">https://find4answers.com/43/what-and-where-are-the-stack-and-heap</guid>
<pubDate>Wed, 16 Nov 2011 07:42:22 +0000</pubDate>
</item>
<item>
<title>Can a function be allocated on the heap instead of a stack?</title>
<link>https://find4answers.com/38/can-a-function-be-allocated-on-the-heap-instead-of-a-stack</link>
<description>Can a function be allocated on the heap instead of a stack?</description>
<category>Java/J2EE</category>
<guid isPermaLink="true">https://find4answers.com/38/can-a-function-be-allocated-on-the-heap-instead-of-a-stack</guid>
<pubDate>Wed, 16 Nov 2011 07:02:20 +0000</pubDate>
</item>
<item>
<title>What is stored on Stack and Heap ?</title>
<link>https://find4answers.com/7/what-is-stored-on-stack-and-heap</link>
<description>Hi all,&lt;br /&gt;
&lt;br /&gt;
Can anyone tell me what is stored on a stack and what is stored on a heap in a Java program?&lt;br /&gt;
&lt;br /&gt;
Thanks.</description>
<category>Programming</category>
<guid isPermaLink="true">https://find4answers.com/7/what-is-stored-on-stack-and-heap</guid>
<pubDate>Sat, 12 Nov 2011 17:05:29 +0000</pubDate>
</item>
<item>
<title>What is heap and stack?</title>
<link>https://find4answers.com/1/what-is-heap-and-stack</link>
<description>&lt;p&gt;
	&lt;strong&gt;What is heap and stack?&lt;/strong&gt;&lt;/p&gt;</description>
<category>Computers</category>
<guid isPermaLink="true">https://find4answers.com/1/what-is-heap-and-stack</guid>
<pubDate>Sun, 06 Nov 2011 17:30:00 +0000</pubDate>
</item>
</channel>
</rss>