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.
Junior Java Interview Questions
4,076 junior java interview questions shared by candidates
Definition of polymorphism in OOP Object referencing in Java
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.
Spring Boot and some internals.
Good interview i have done through lt was easy and recruitment process was much easier. Easier than i expected It to be. Good company good people and good benifits. All the best.
¿Qué es una interfaz en Java?
Viewing 4071 - 4080 interview questions