i
HCLTech
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
I applied via Walk-in and was interviewed in Sep 2024. There were 3 interview rounds.
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...
HCLTech interview questions for designations
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
Get interview-ready with Top HCLTech Interview Questions
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 appeared for an interview in Sep 2021.
I applied via Naukri.com and was interviewed in Mar 2021. There was 1 interview round.
Switch case is used for multiple conditions while if else is for binary conditions. Sorting can be done using various algorithms.
Switch case is faster than if else for multiple conditions
If else is more readable for binary conditions
Sorting can be done using bubble sort, insertion sort, quick sort, etc.
Example code for bubble sort: for(i=0;i
Difference between compiler and interpreter with a coding challenge
Compiler translates the entire code into machine language before execution while interpreter translates line by line during execution
Compiler generates an executable file while interpreter does not
Compiler is faster but debugging is harder while interpreter is slower but debugging is easier
Coding challenge: Write a program to find the sum of two numbers
based on 6 interviews
2 Interview rounds
based on 11 reviews
Rating in categories
Hyderabad / Secunderabad,
Bangalore / Bengaluru
+16-10 Yrs
₹ 10-19 LPA
Software Engineer
23.5k
salaries
| ₹1.9 L/yr - ₹8 L/yr |
Technical Lead
21.6k
salaries
| ₹7 L/yr - ₹28 L/yr |
Senior Software Engineer
16.1k
salaries
| ₹4.5 L/yr - ₹17 L/yr |
Lead Engineer
15.8k
salaries
| ₹4.1 L/yr - ₹14 L/yr |
Analyst
14.8k
salaries
| ₹0.8 L/yr - ₹6.5 L/yr |
TCS
Wipro
Accenture
Cognizant