Taro Logo

Java Engineer Interview Experience - Pune, India

August 1, 2022
Positive ExperienceGot Offer

Process

  1. What is Java? Why is it platform-independent?

Java runs on JVM → bytecode → machine code → so it works on any OS.

  1. Difference between JDK, JRE, and JVM

JDK → development kit

JRE → runtime environment

JVM → executes bytecode

  1. OOPS Concepts (Infosys always asks)

Encapsulation

Inheritance

Polymorphism

Abstraction

  1. Difference between Overloading and Overriding

Overloading – compile time, same method name, different params. Overriding – runtime, same signature in subclass.

  1. What is this keyword?

Refers to current object.

  1. What is super keyword?

Refers to parent class.

  1. What is constructor? Types?

Default

Parameterized Used to initialize objects.

  1. Difference between abstract class and interface

Abstract → can have concrete + abstract methods

Interface → only abstract methods (Java 8 allows default/static)

  1. Can Java support multiple inheritance
  2. What is String pool?

Area in heap memory that stores unique string literals.

  1. Difference between String, StringBuilder, StringBuffer

String → immutable

StringBuilder → mutable, not thread-safe

StringBuffer → mutable, thread-safe

  1. What is exception handling?

try, catch, finally, throw, throws

  1. Checked vs Unchecked Exceptions

Checked → compile time (IOException)

Unchecked → runtime (ArithmeticException)

  1. Collections vs Arrays

Collections grow dynamically, array has fixed length.

  1. Difference between List, Set, Map

List → ordered, duplicates allowed

Set → unique, no duplicates

Map → key-value pairs

  1. HashMap vs Hashtable

HashMap → not synchronized, faster

Hashtable → synchronized, slower

  1. What is a Thread? How to create?

Extend Thread OR implement Runnable.

  1. What is synchronization

Was this helpful?

Interview Statistics

The following metrics were computed from 3 interview experiences for the Infosys Java Engineer role in Pune, India.

Success Rate

33%
Pass Rate

Infosys's interview process for their Java Engineer roles in Pune, India is fairly selective, failing a large portion of engineers who go through it.

Experience Rating

Positive100%
Neutral0%
Negative0%

Candidates reported having very good feelings for Infosys's Java Engineer interview process in Pune, India.