Heap and stack
Write down the difference between the heap and stack?
Expert
The Stack is less or more responsible for keeping track of what's executing in our code (or what's been "called"). While the Heap is more or responsible for keeping the track of our objects.
Assume that Stack is a series of boxes stacked one on top of the next. We keep the track of what's going on in our application by stacking the other box on top every time we call a method (termed as a Frame). We can just use what's in the top box on stack. If we are done with the top box (the method is done executing) we throw it away and carry on using the stuff in the preceding box on the top of stack. The Heap is alike except that its aim is to hold information (not keep track of execution most of time) so whatever thing in our Heap can be accessed at any time. With Heap, there are no constraints as to what can be accessed similar in the stack. The Heap is similar to the heap of clean laundry on our bed which we have not taken the time to put away yet-we can grab what we require quickly. The Stack is similar to the stack of shoe boxes in the closet where we have to take off the top one to get the one beneath it.
Describe how do I integrate my Legacy applications along with the SOA?
Discuss how the Multimedia Messaging Service (MMS) Works?
Describe the internal and external fragmentation in detail?
Which is enhanced - STS or SPS?
Write down the purpose of a Hypervisor?
Write down some of the demerits of Prototype Model?
What do you understand by the term fabric?
Explain some of the open source cloud computing platform databases.
What do you mean by the term Daily Scrum or Standup?
Illustrate the meaning of multi window editor with example?
18,76,764
1944546 Asked
3,689
Active Tutors
1419126
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!