adplus-dvertising
frame-decoration

Question

Where is array stored in memory?

a.

heap space

b.

stack space

c.

heap space and stack space

d.

first generation memory

Answer: (a).heap space

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Where is array stored in memory?

Similar Questions

Discover Related MCQs

Q. An array elements are always stored in ________ memory locations?

Q. What is the range of short data type in Java?

Q. What is the range of byte data type in Java?

Q. An expression involving byte, int, and literal numbers is promoted to which of these?

Q. Which of these literals can be contained in float data type variable?

Q. Which data type value is returned by all transcendental math functions?

Q. How to format date from one form to another?

Q. How to convert Date object to String?

Q. How to convert a String to a Date object?

Q. Is SimpleDateFormat thread safe?

Q. How to identify if a timezone is eligible for DayLight Saving?

Q. What is the replacement of joda time library in java 8?

Q. How is Date stored in database?

Q. What does LocalTime represent?

Q. How to get difference between two dates?

Q. How to get UTC time?

Q. Which of these is an incorrect string literal?

Q. Which two cause a compiler error?

1. float[ ] f = new float(3);
2. float f2[ ] = new float[ ];
3. float[ ]f1 = new float[3];
4. float f3[ ] = new float[3];
5. float f5[ ] = {1.0f, 2.0f, 2.0f};

Q. Given a method in a protected class, what access modifier do you use to restrict access to that method to only the other members of the same class?

Q. Which is a valid declaration within an interface?