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 |
What is polymorphism in oops with example?
what is a binary overloading
What are constructors in oop?
how to write a java program for an output ****0 ***01 **012 *0123 01234
What is a class?
32 Answers Infosys, TCS, Thylak,
what is the application of oops?
how to find the largest of given numbers in an array
How to deploy web appliction in web logic ?
What is the difference between static polymorphism and dynamic polymorphism?
what is the difference between inter class and abstract class...?
What is abstraction in oops with example?
Why is static class not inherited?