203). Where is a new object allocated memory?

[A]Young space
[B]Old space
[C] Young or Old space depending on space availability
[D]JVM

Show Answer

204). Which of the following is a garbage collection technique?

[A]Cleanup model
[B]Mark and sweep model
[C] Space management model
[D] Sweep model

Show Answer

205). What is -Xms and -Xmx while starting jvm?

[A]Initial; Maximum memory
[B]Maximum; Initial memory
[C]Maximum memory
[D] Initial memory

Show Answer

206). Which exception is thrown when java is out of memory?

[A]MemoryFullException
[B] MemoryOutOfBoundsException
[C]OutOfMemoryError
[D]MemoryError

Show Answer

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

[A]The thread continues its operation
[B]Garbage collection cannot happen until the thread is running
[C]The thread is paused while garbage collection runs
[D] The thread and garbage collection do not interfere with each other

Show Answer

209). Which of the below is not a Java Profiler?

[A]JVM
[B]JConsole
[C]JProfiler
[D]Eclipse Profiler

Show Answer

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

[A]Code changes
[B]JVM parameter tuning
[C]Process restart
[D]GC parameter tuning

Show Answer