i
LTIMindtree
Proud winner of ABECA 2025 - AmbitionBox Employee Choice Awards
Filter interviews by
Encapsulation is a fundamental OOP principle that restricts direct access to an object's data and methods.
Encapsulation combines data and methods into a single unit called a class.
It restricts access to the internal state of an object using access modifiers (private, protected, public).
Example: A class 'BankAccount' can have private fields like 'balance' and public methods like 'deposit()' and 'withdraw()' to mani...
OOP concepts in Java include Encapsulation, Inheritance, Polymorphism, and Abstraction, enabling modular and reusable code.
Encapsulation: Bundling data and methods. Example: Using private variables with public getters/setters.
Inheritance: Deriving new classes from existing ones. Example: class Dog extends Animal.
Polymorphism: Methods can do different things based on the object. Example: method overriding in subcla...
In Java, 'final' is a keyword used to declare constants, prevent method overriding, and restrict inheritance.
Final variables cannot be reassigned once initialized. Example: final int x = 10;
Final methods cannot be overridden by subclasses. Example: final void display() {}
Final classes cannot be subclassed. Example: final class Constants {}
The 4 pillars of data structure are arrays, linked lists, stacks, and queues.
Arrays: Data structure that stores a collection of elements with a fixed size.
Linked Lists: Data structure where each element points to the next element in the sequence.
Stacks: Data structure that follows the Last In First Out (LIFO) principle.
Queues: Data structure that follows the First In First Out (FIFO) principle.
What people are saying about LTIMindtree
Create a REST service using Spring Boot
Create a new Spring Boot project
Add dependencies for Spring Web and Spring Boot DevTools in pom.xml
Create a new Java class for the REST controller with @RestController annotation
Define request mapping annotations like @GetMapping, @PostMapping, @PutMapping, @DeleteMapping for different HTTP methods
Implement the business logic for each endpoint
Run the Spring Boot application a...
Use the Strategy design pattern for complex design.
Strategy pattern allows you to define a family of algorithms, encapsulate each one, and make them interchangeable.
It helps in separating the behavior of a class from the class itself, making it easier to switch between different algorithms at runtime.
Examples of using Strategy pattern include implementing different sorting algorithms in a class or defining various...
Java 8 introduced new features like lambda expressions, functional interfaces, streams, and default methods.
Lambda expressions allow you to write code in a more concise and readable way.
Functional interfaces provide a single abstract method for functional programming.
Streams enable processing sequences of elements in a functional style.
Default methods allow interfaces to have method implementations.
Example: Lambda...
OOPS stands for Object-Oriented Programming System. It is a programming paradigm based on the concept of objects.
OOPS is based on four main concepts: Encapsulation, Inheritance, Polymorphism, and Abstraction.
Encapsulation is the process of hiding the implementation details of an object from the outside world.
Inheritance allows a class to inherit properties and methods from another class.
Polymorphism allows objects...
To make a class immutable in Java, we need to follow certain guidelines.
Make the class final
Make all fields private and final
Do not provide setter methods
If the field is mutable, return a clone of it instead of the original object
Ensure that any mutable objects passed to the constructor are not modified outside the class
Program to add numbers in harmonic series (1+1/2+1/3+...+1/n)
Create a variable to store the sum
Use a loop to iterate through the series up to n
Add each term to the sum
Print the sum
I applied via Company Website and was interviewed in Oct 2024. There were 3 interview rounds.
First round is quit easy
2 coding question based on dsa
The 4 pillars of data structure are arrays, linked lists, stacks, and queues.
Arrays: Data structure that stores a collection of elements with a fixed size.
Linked Lists: Data structure where each element points to the next element in the sequence.
Stacks: Data structure that follows the Last In First Out (LIFO) principle.
Queues: Data structure that follows the First In First Out (FIFO) principle.
I applied via Recruitment Consulltant and was interviewed in Aug 2024. There were 3 interview rounds.
A test of a combination of aptitude, tech questions and coding.
JVM stands for Java Virtual Machine, which is an abstract computing machine that enables a computer to run Java programs. JIT stands for Just-In-Time compiler, which compiles Java bytecode into native machine code at runtime for improved performance.
JVM is responsible for executing Java programs by converting Java bytecode into machine code that can be understood by the computer's operating system.
JIT is a component of...
Coding question and mcq
I applied via Referral and was interviewed in Jul 2024. There was 1 interview round.
Callable is used to return a result and can throw checked exceptions, while Runnable is used for void operations.
Callable can return a result and throw checked exceptions, while Runnable cannot.
Callable is a functional interface with a method call() that returns a result, while Runnable is a functional interface with a method run() that does not return a result.
Example: Callable<Integer> task = () -> { return 5 +...
I appeared for an interview in Mar 2025, where I was asked the following questions.
I appeared for an interview in Mar 2025, where I was asked the following questions.
In Java, 'final' is a keyword used to declare constants, prevent method overriding, and restrict inheritance.
Final variables cannot be reassigned once initialized. Example: final int x = 10;
Final methods cannot be overridden by subclasses. Example: final void display() {}
Final classes cannot be subclassed. Example: final class Constants {}
I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.
Map applies a function to each element in a stream, while flatMap applies a function that returns a stream for each element.
Map transforms each element in a stream using a function, returning a new stream of transformed elements.
FlatMap transforms each element in a stream using a function that returns a stream, then flattens the streams into a single stream.
Volatile keyword in Java is used to indicate that a variable's...
Find appearance of each charector in a given string
Spring Actuator is a feature in Spring Boot that provides monitoring and management capabilities for your application.
Spring Actuator exposes various endpoints to monitor and manage your application, such as /health, /info, /metrics, etc.
It allows you to check the health of your application, gather metrics, view application properties, and more.
You can also create custom endpoints for specific monitoring needs.
Spring A...
Annotations in Spring Boot are used to provide metadata about the application and its components.
Annotations are used to configure Spring Boot applications, define beans, handle requests, etc.
Examples include @RestController, @Autowired, @RequestMapping, @Component, etc.
I applied via Walk-in and was interviewed in Mar 2024. There was 1 interview round.
The duration of LTIMindtree Java Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 28 interview experiences
Difficulty level
Duration
based on 53 reviews
Rating in categories
Senior Software Engineer
22k
salaries
| ₹6 L/yr - ₹23 L/yr |
Software Engineer
16.3k
salaries
| ₹2 L/yr - ₹10 L/yr |
Technical Lead
6.4k
salaries
| ₹9.5 L/yr - ₹37.5 L/yr |
Module Lead
5.7k
salaries
| ₹7 L/yr - ₹28 L/yr |
Senior Engineer
4.4k
salaries
| ₹4.2 L/yr - ₹16 L/yr |
Cognizant
Capgemini
Accenture
TCS