Java Developer interview questions
Core Java, collections, concurrency, JVM, Spring and testing for Java developer roles.
61 questions · 6 topics · 12 free answers
0 of 61 practised · 0 bookmarked · saved on this device
9 questions match
JVM, Memory and Performance#1What are strong, soft, weak and phantom references?MediumConceptJVM, Memory and Performance Pro answer
This answer is part of Pro
10 of 61 Java Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#2What causes a memory leak in a garbage-collected language?MediumConceptJVM, Memory and Performance Pro answer
This answer is part of Pro
10 of 61 Java Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#3What is the difference between OutOfMemoryError for heap and for metaspace?MediumConceptJVM, Memory and Performance Pro answer
This answer is part of Pro
10 of 61 Java Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#4What are JIT compilation and warm-up?MediumConceptJVM, Memory and Performance Pro answer
This answer is part of Pro
10 of 61 Java Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#5Which JVM flags do you commonly set for a containerised service?MediumConceptJVM, Memory and Performance Pro answer
This answer is part of Pro
10 of 61 Java Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#6How does G1 differ from the parallel collector?HardConceptJVM, Memory and Performance Pro answer
This answer is part of Pro
10 of 61 Java Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#7Latency spikes appear every few minutes in production. How do you check whether GC is responsible?HardScenarioJVM, Memory and Performance Pro answer
This answer is part of Pro
10 of 61 Java Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#8CPU is pinned at 100 percent on one Java instance. How do you find the cause?HardScenarioJVM, Memory and Performance Pro answer
This answer is part of Pro
10 of 61 Java Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#9What are class loaders in Java?EasyConceptJVM, Memory and Performance Pro answer
This answer is part of Pro
10 of 61 Java Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
Hunting for a Java Developer role too? See open Java Developer jobs.