Java Junior Interview Questions

4,076 java junior interview questions shared by candidates

In the pen-and-paper round, all candidates were given the same problem statement. I am not entirely certain if this was the exact wording, but the core requirement was to design a system using abstraction and inheritance principles. Specifically, I had to create an abstract class named Hospital, define abstract methods such as getDescription(), and declare the required variables. Then, I needed to create a Person class with a string variable name, extend it into a Patient class, and override the getDescription() method. Additionally, I was asked to implement simple logic such as retrieving the next patient based on priority. The focus of the question was mainly on understanding abstraction, method overriding, class hierarchy, and applying basic low-level design concepts rather than solving a pure data structures problem.
avatar

Junior Java Software Developer

Interviewed at EPAM Systems

4
Feb 19, 2026

In the pen-and-paper round, all candidates were given the same problem statement. I am not entirely certain if this was the exact wording, but the core requirement was to design a system using abstraction and inheritance principles. Specifically, I had to create an abstract class named Hospital, define abstract methods such as getDescription(), and declare the required variables. Then, I needed to create a Person class with a string variable name, extend it into a Patient class, and override the getDescription() method. Additionally, I was asked to implement simple logic such as retrieving the next patient based on priority. The focus of the question was mainly on understanding abstraction, method overriding, class hierarchy, and applying basic low-level design concepts rather than solving a pure data structures problem.

What is the difference between JDK, JRE, and JVM? - JDK (Java Development Kit) is a software package for developing Java applications. JRE (Java Runtime Environment) is necessary to run Java applications. JVM (Java Virtual Machine) is the execution environment for Java bytecode. 3.Explain the main features of Java.** - Java is known for its features like platform independence, object-oriented programming, strong typing, automatic memory management (garbage collection), and extensive standard library.
avatar

Junior Java Developer

Interviewed at EY

3.7
Oct 10, 2023

What is the difference between JDK, JRE, and JVM? - JDK (Java Development Kit) is a software package for developing Java applications. JRE (Java Runtime Environment) is necessary to run Java applications. JVM (Java Virtual Machine) is the execution environment for Java bytecode. 3.Explain the main features of Java.** - Java is known for its features like platform independence, object-oriented programming, strong typing, automatic memory management (garbage collection), and extensive standard library.

Viewing 4071 - 4080 interview questions

Glassdoor has 4,076 interview questions and reports from Java junior interviews. Prepare for your interview. Get hired. Love your job.