Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Interview-Questions heap and stack in general programming language
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


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


what's the difference between heap and stack ?


Advertisement
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



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
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
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
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
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
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
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
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
HEAP table
HEAP table  hiii, What is HEAP table?   hello, This type of table is stored in the memory. Speed of execution of this table is very commendable
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.  
Java Stack Example
the stack collection in the Java programming. In this example you will see how...Java Stack Example In this section we will read about how you can provide the feature of bounded capacity in your application. Stack is a particular
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
which database and programming language i should choose - Framework
which database and programming language i should choose  Hi, I am... searched more about the programming languages and i found several powerful... help me to choose the best database and programming languages.finally i appreciate
heap memory in j2me
heap memory in j2me  how to get j2me heap memory size
visualization Max-Heap-sort
visualization Max-Heap-sort  To Whom It May Concern, Would you please give the source code of applet Max-heap sort? I want to see the visualization of Max-Heap sort. Best Regards, saeideh
Image Processing Tutorials in Java Programming Language
Tutorials and example of processing the image in the Java Programming Language Java Programming Language is providing many APIs for processing the image and performing various operations on the image. Java is high level programming
Stack
Stack Overview Stack follows the rule of last in first out rule. Mainly two action are performed by stack one is push and other is pop. The last thing which we placed or push on stack is the first thing we can get when we pop. A stack
Advertisements
 

 

 

DMCA.com