adplus-dvertising
frame-decoration

Question

Where is a new object allocated memory?

a.

Young space

b.

Old space

c.

Young or Old space depending on space availability

d.

JVM

Posted under Java Programming

Answer: (a).Young 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 a new object allocated memory?

Similar Questions

Discover Related MCQs

Q. Which of the following is a garbage collection technique?

Q. What is -Xms and -Xmx while starting jvm?

Q. Which exception is thrown when java is out of memory?

Q. How to get prints of shared object memory maps or heap memory maps for a given process?

Q. What happens to the thread when garbage collection kicks off?

Q. Which of the below is not a Java Profiler?

Q. Which of the below is not a memory leak solution?

Q. Garbage Collection can be controlled by a program?

Q. What is the process of defining two or more methods within same class that have same name but different parameters declaration?

Q. Which of these can be overloaded?

Q. Which of these is correct about passing an argument by call-by-value process?

Q. Which of these is used to access a member of class before object of that class is created?

Q. Which of these is used as a default for a member of a class if no access specifier is used for it?

Q. Which of the following statements are incorrect?

Q. Which one of the following is not an access modifier?

Q. All the variables of class should be ideally declared as?

Q. Which of the following modifier means a particular variable cannot be accessed within the package?

Q. How can a protected modifier be accessed?

Q. What happens if constructor of class A is made private?

Q. All the variables of interface should be?