i
HCLTech
Filter interviews by
I applied via Naukri.com and was interviewed in Nov 2020. There were 6 interview rounds.
What people are saying about HCLTech
I applied via Naukri.com
A user microservice to retrieve data from h2DB
Create a REST API endpoint to handle user requests
Use JDBC to connect to the h2DB and retrieve data
Implement caching to improve performance
Ensure proper error handling and logging
Secure the API with authentication and authorization
To create thread singleton, use double-checked locking or enum.
Use double-checked locking to ensure only one instance is created
Alternatively, use enum to create a singleton with thread safety
Ensure proper synchronization to avoid race conditions
Spring Boot Starter POM is a parent POM that provides a set of dependencies for Spring Boot applications.
It includes commonly used dependencies such as Spring Framework, Spring Boot, and Spring Data.
It simplifies the process of configuring and deploying Spring Boot applications.
Developers can add additional dependencies to the POM file as needed.
Examples of Spring Boot Starter POMs include spring-boot-starter-web, spri...
I applied via Referral and was interviewed in Mar 2021. There were 3 interview rounds.
I applied via Naukri.com
I applied via Naukri.com and was interviewed in Oct 2022. There were 3 interview rounds.
Java is a popular programming language used for developing various applications. A variable is a named memory location used to store data.
Java is an object-oriented language
It is platform-independent
Variables in Java have a specific data type
Variables can be assigned values and their values can be changed
Example: int age = 25; String name = "John";
Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.
Inheritance allows code reuse and promotes code organization.
There are different types of inheritance: single inheritance, multiple inheritance, multilevel inheritance, and hierarchical inheritance.
Single inheritance involves a class inheriting from a single base class.
Multiple inheritance involves...
Inheritance is acquiring properties of parent class to child class without changing parent class properties. It is classified into 5 types.
Inheritance is a way to reuse code and establish a relationship between classes
The 'extends' keyword is used to implement inheritance in Java
Examples of inheritance include a 'Car' class inheriting properties from a 'Vehicle' class
Single level inheritance involves one parent class a...
May I about you ? Which your qualification and which stream
I applied via Approached by Company and was interviewed in Jun 2022. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Nov 2021. There was 1 interview round.
To add a new server in Spring Boot, you need to exclude the default Tomcat dependency and add the desired server dependency.
Exclude the Tomcat dependency in the pom.xml file
Add the desired server dependency in the pom.xml file
Configure the server properties in the application.properties or application.yml file
Checking if a string is not null without using string != null.
Use string.IsNullOrEmpty() method
Use string.IsNullOrWhiteSpace() method
Use string.Compare() method to compare with an empty string
Use string.Length property to check if length is greater than 0
Yoda notation is a programming style where the order of a conditional statement is reversed.
Used to avoid null pointer exceptions
Improves readability for complex conditions
Example: if ('red' === color) instead of if (color === 'red')
Convert a List of employees into a Map of Employees with ID as the key.
Create an empty Map
Iterate through the List of employees
For each employee, add a key-value pair to the Map with ID as key and employee object as value
I applied via Naukri.com and was interviewed in Jan 2022. There were 3 interview rounds.
Development life cycles are processes used to plan, design, build, test, and deploy software applications.
There are several development life cycles, including Waterfall, Agile, and DevOps.
The Waterfall model is a linear approach where each phase must be completed before moving on to the next.
Agile methodologies focus on iterative development and continuous feedback.
DevOps combines development and operations to create a...
I prefer not to disclose my current or expected salary as it is not relevant to my qualifications and experience.
I believe that my skills and experience are more important than my current or expected salary
I am open to discussing compensation that is fair and competitive for the role and my qualifications
I am more interested in the opportunity to work on challenging projects and grow my skills
I would like to focus on h...
I applied via Job boards and was interviewed in Sep 2021. There were 4 interview rounds.
Use a physical medium like a USB drive or a portable storage device to transfer the file.
Physically carry the file on a USB drive or portable storage device.
Use a local network connection to transfer the file between the two floors.
Utilize Bluetooth or other wireless technologies to transfer the file.
If the distance is short, use a physical method like printing the file and physically handing it over.
JVM stands for Java Virtual Machine. It is an abstract machine that enables a computer to run Java programs.
JVM is responsible for interpreting the compiled Java code and executing it on the computer.
It provides a platform-independent environment for Java programs to run on different operating systems.
JVM has various components like Class Loader, Bytecode Verifier, Just-In-Time Compiler, and Garbage Collector.
Examples ...
JDK memories are areas of memory used by Java programs to store data and code.
JDK memories include heap memory, stack memory, and non-heap memory.
Heap memory is used to store objects and is managed by the garbage collector.
Stack memory is used to store method calls and local variables.
Non-heap memory is used to store class definitions and other data.
Examples of non-heap memory include the method area and the permanent ...
based on 5 reviews
Rating in categories
Software Engineer
22.5k
salaries
| ₹1.2 L/yr - ₹8 L/yr |
Technical Lead
20.7k
salaries
| ₹6.9 L/yr - ₹25 L/yr |
Senior Software Engineer
15.4k
salaries
| ₹4 L/yr - ₹16.5 L/yr |
Lead Engineer
14.8k
salaries
| ₹4.2 L/yr - ₹14 L/yr |
Senior Analyst
13.9k
salaries
| ₹1 L/yr - ₹8.5 L/yr |
TCS
Wipro
Accenture
Cognizant