i
HCLTech
Work with us
Filter interviews by
I appeared for an interview in Jan 2025.
A sequence was provided: 4181, 2684, 1597, 987, 610.
first 2 are given and write code for other value calculation using java 8
The second question required writing a reverse of a palindrome using both Java 8 streams. I was able to successfully write both and clear the first round.
Java 17 introduces sealed classes to restrict inheritance and improve code maintainability.
Sealed classes are declared using the 'sealed' keyword followed by the permitted subclasses.
Subclasses of a sealed class must be either final or sealed themselves.
Errors may occur when trying to extend a sealed class with a non-permitted subclass.
Implementation of 'notify me if item is back in stock' feature in an ecommerce application
Create a database table to store user notifications for out-of-stock items
Implement a service to check item availability and send notifications to subscribed users
Provide a user interface for users to subscribe to notifications for specific items
Utilize Java concurrency features to optimize Excel operations for faster response times.
Use Java's ExecutorService to manage a pool of threads for concurrent processing.
Implement parallel streams to process large datasets in Excel efficiently.
Utilize Apache POI for reading/writing Excel files in a multi-threaded manner.
Consider using CompletableFuture for asynchronous operations on Excel data.
Batch operations to minim...
I applied via Walk-in and was interviewed in Sep 2024. There were 3 interview rounds.
I appeared for an interview in Mar 2025, where I was asked the following questions.
I applied via Walk-in and was interviewed in Mar 2024. There was 1 interview round.
Abstract class is a class that can have abstract methods and concrete methods, while interface is a contract that defines methods that a class must implement.
Abstract class can have constructors, member variables, and non-abstract methods.
Interface can only have abstract methods and constants.
A class can implement multiple interfaces but can only extend one abstract class.
Example: Abstract class - Animal with abstract ...
Spring is a framework that provides comprehensive infrastructure support, while Spring Boot is a tool that simplifies Spring application development.
Spring is a comprehensive framework that provides various modules for different functionalities like Spring MVC, Spring Security, Spring Data, etc.
Spring Boot is a tool that simplifies the setup and configuration of Spring applications by providing defaults and auto-config...
I appeared for an interview before Jun 2024, where I was asked the following questions.
I applied via Naukri.com and was interviewed in Oct 2023. There were 3 interview rounds.
In Virtual meeting, They request to write code for their input in java
SOLID principles are a set of five design principles to make software more maintainable, scalable, and flexible.
S - Single Responsibility Principle: A class should have only one reason to change.
O - Open-Closed Principle: Software entities should be open for extension but closed for modification.
L - Liskov Substitution Principle: Subtypes must be substitutable for their base types.
I - Interface Segregation Principle: A...
Java 8 introduced several new features including lambda expressions, streams, and default methods.
Lambda expressions allow for functional programming and simplify code.
Streams provide a way to process collections of data in a functional way.
Default methods allow for adding new methods to interfaces without breaking existing implementations.
Other features include the Date and Time API, Nashorn JavaScript engine, and imp...
I applied via Naukri.com and was interviewed in Oct 2021. There were 3 interview rounds.
What people are saying about HCLTech
I applied via LinkedIn and was interviewed in Nov 2021. There was 1 interview round.
Generics in Java allow for type safety and reusability of code.
Generics allow for the creation of classes, interfaces, and methods that can work with any data type.
They provide compile-time type safety, preventing runtime errors.
Examples include ArrayList
Wildcards can be used to allow for flexibility in generic types.
Generics can improve code readability and reduce the need for casting.
Ge...
Some of the top questions asked at the HCLTech Senior Java Developer interview -
based on 8 interview experiences
Difficulty level
Duration
based on 12 reviews
Rating in categories
Software Engineer
24.8k
salaries
| ₹2.7 L/yr - ₹8 L/yr |
Technical Lead
22.8k
salaries
| ₹10.8 L/yr - ₹21 L/yr |
Senior Software Engineer
16.8k
salaries
| ₹5.4 L/yr - ₹15.7 L/yr |
Lead Engineer
16.4k
salaries
| ₹5.3 L/yr - ₹12.4 L/yr |
Analyst
15.8k
salaries
| ₹2.3 L/yr - ₹6.5 L/yr |
TCS
Wipro
Accenture
Cognizant