When you define a integer it gets stored in which data
structure?(Stack or a heap)
Answers were Sorted based on User's Feedback
Answer / shyam
Depends on where the integer is declared. If it s declared in a block it goes into stack.
If it s an static or global variable, it will not be stored in stack. It ll be stored in data segment of the running program.
Integer will never be stored in heap... never...
| Is This Answer Correct ? | 1 Yes | 0 No |
Can static class have constructor?
Why do while loop is used?
is java purely oop Language?
49 Answers HCL, Infosys, TCS,
Finding of the 4 larger (bigger) numbers from the list like{1245,4587,2145,1163,29987,65783.....}
why function overloading is not called as pure polymorphism?
why to use operator overloading
write a program to print * * * * * *
What are the main differences between procedure oriented languages and object oriented languages?
9 Answers IBM, Infosys, Wipro,
What is the difference between the C & C++?
how many types of notations are in java
1 Answers National University of Modern Languages (NUML),
Write a program to multiply 3x3 matrics
write a short note on Overloading of Binary Operator?