heap and stack in general programming language

Ads

 
 

Share on Google+Share on Google+

eman ahmed
heap and stack in general programming language
1 Answer(s)      6 years and 11 months ago
Posted in : Java Interview Questions

what's the difference between heap and stack ?

Ads
View Answers

October 25, 2010 at 12:18 PM


Hi Friend,

Differences:

1)Stack is referred as temporary memory while Heap is referred as permanent memory.

2)In stack, automatic variables and function parameters are allocated while in Heap, dynamic objects are allocated.

Thanks


Ads









Related Tutorials/Questions & Answers:
heap and stack in general programming language
heap and stack in general programming language  what's the difference between heap and stack ?   Hi Friend, Differences: 1)Stack is referred as temporary memory while Heap is referred as permanent memory. 2)In stack
heap and stack memory
heap and stack memory   hi i am jane pls explain the difference between heap memory and stack memory with example programs
Advertisements
heap and stack memory
heap and stack memory   hi i am jane pls explain the difference between heap memory and stack memory   STACK memory... after v came out from the program]. While HEAP memory is referred as permanent
Programming (general)
Programming (general)  I haven't yet started college/university but I'm interested in studying programming. I wondering if programming is difficult... you learn? I'm 16 and wanted to start a language or two before I start
Java as a general purpose language
Java as a general purpose language       Java is an Object oriented application programming language... programming language. It is a stupendous programming language which is not confined
Java as a general purpose language
Java as a general purpose language       Java is an Object oriented application programming language developed by Sun Microsystems. Java is a very powerful general-purpose programming
Java as a general purpose language
Java as a general purpose language       Java is an Object oriented application programming language... programming language. It is a stupendous programming language which is not confined
Why Java as a programming Language?
Why Java as a programming Language?       Why Java as a  programming Language? Java is a general-purpose, high-level programming language, which provides a powerful and full
R programming language.
R programming language.  i want to know about R-programming language. what is it? how to work on it? if possible provide me a ebook on the topic
Java Programming Language
Java Programming Language  Hi, For beginner which programming concepts is important? Discuss the importance of Java programming language. In the discussion please let's know how to use Java in developing web applications
What is R programming language?
What is R programming language?  Hi, What is R programming language? How R programming language is used in real programming? People around the world is taking about R programming language. Why this programming language is very
What type of programming language is Java?
, general purpose, high level programming language which supports development...What type of programming language is Java?  Hi, What type of programming language is Java? Why anyone should learn Java? What is Java and what
Java Programming Language
Introduction to Java programming Language Java is one of the Object-Oriented programming language used to create various types of applications.  James A. Gosling developed the Java programming language in the year 1995 at Sun
About Java Programming Language
About Java Programming Language       Java is an Object oriented application programming language developed by Sun Microsystems. Java is a very powerful general-purpose programming
Learning programming language - Java Beginners
Learning programming language  Hi, I am srikanth i want to learn java programming language without knowing C language.I am very new to programming and i want to learn this language.Can you suggest me to learn the language
What is the use of R Programming Language?
What is the use of R Programming Language?  Hi, Everyone is talking at loud about the R Programming language. If you see any job portal you... Programming Language? Thanks   Hi, R is a programming language
Where to learn java programming language
and want to learn Java and become master of the Java programming language? Where to learn java programming language? Thanks   Hi, Java is Object oriented programming language. It's easy to start learning Java. You can learn how
Is the R programming language worth knowing?
Is the R programming language worth knowing?  Hi, What is the use of R programming on Big Data? Is the R programming language worth knowing? Thanks... Programming language comes with 4000+ packages which can be used for various purposes
Go Programming Language
Go Programming Language tutorials and examples The Go programming language, also known as Golang is basically a programming language which was initially... programming language", which was released in 2003 as agent based language
Java Programming Language
the languages of Java. Java is a portable programming language which was developed... Microsystems. The nucleus of the java platform is the Java programming language... description and brief about the Java programming languages and its usages
C++ programming language - Java Beginners
C++ programming language  int main() { int i = 1, c = 0, sum = 1,j ; scanf("%d", &j); while (i <= j) { sum = sum + (i /3+i/5); printf
c programming language - Java Beginners
c programming language  int main() { int i = 1, c = 0, sum = 1,j ; scanf("%d", &j); while (i <= j) { sum = sum + (i /3+i/5); printf("%d
How to write in Binary file in Java programming language
How to write in Binary file in Java programming language  I need some help about Java programming. Please explain me "How to write in Binary file in Java programming language
What are the steps to install R programming language?
What are the steps to install R programming language?  Hi, I am... to install R programming language? Thanks   Hi, I will tell you the steps to install R Programming language and RStudio. Here are the steps: Step 1
Stack
Stack  How to implement a stack using classes in java?   Here is an example that implements a Stack class based on arrays. public class Stack { private int top; private int[] storage; Stack(int
Java Programming language concepts for beginners
Java is a programming language that has become quite popular in the past... as computer programming language. Java needs JRM (Java Runtime Environment... language is used to describe the programming and examples that can be understood
An Overview of Java      Java is a programming language      Java is Object Oriented Programming
; Java as a programming language Java is an Object oriented application programming language developed by Sun Microsystems. Java is a very powerful general-purpose programming language.  
heap memory
heap memory  how long is the object stored in heap memory persist
Java heap space
; set java thread stack size For example, you can set minimum heap to 64...Java heap space  I am using MyEclipse 8.6 for my web based project. The command may be... Ex: java -Xms32m -Xmx128m How can I increase java heap
How can I self study the R programming language?
How can I self study the R programming language?  Hi, How can I self study the R programming language? How a beginner can learn R programming... experience in programming then you can learn R programming yourself. You can
How to make session control using only JSP programming language
How to make session control using only JSP programming language  Could i do Controlling session using only JSP programming language without using anylanguage