i
HCLTech
Filter interviews by
Clear (1)
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
A Java program to count the occurrences of the letter 'l' in the string 'Hello world'.
Create a Java program with a main method.
Initialize a String variable with the value 'Hello world'.
Use a loop to iterate through each character in the string and count the occurrences of the letter 'l'.
Print the count of 'l' at the end.
Reverse the characters of each word in a given string
Split the input string into an array of words
Reverse each word in the array
Join the reversed words back into a single string
Comparator is an interface used to sort objects, while Comparable is an interface used to compare objects for natural ordering.
Comparator is used to define custom sorting logic for objects, while Comparable is used for natural ordering based on the class's implementation of compareTo() method.
Comparator can be used to sort objects of different classes, while Comparable is implemented within the class itself.
Example: So...
Lambda expression is a concise way to represent an anonymous function in programming languages.
Lambda expressions are used to create small, inline functions without a formal definition.
They are commonly used in functional programming languages like Python, Java, and C#.
Lambda expressions can be used to simplify code and make it more readable.
Example: (x, y) -> x + y is a lambda expression that takes two parameters a
Constructor chaining is the process of calling one constructor from another constructor in a class.
Allows reusing code and avoiding duplication
Can be achieved using 'this' keyword in the constructor
Helps in initializing objects with different parameters
Handle notifications in mobile automation by using automation tools to interact with notifications, verify content, dismiss or respond to them.
Use automation tools like Appium or Espresso to interact with notifications
Verify the content of notifications by extracting text or images
Dismiss notifications to continue with test execution
Respond to notifications if required for test scenarios
Handle different types of notifi...
Use platform-specific locators or conditional statements to handle different element xpaths in iOS and Android apps.
Use platform-specific locators like accessibility id for iOS and resource id for Android
Implement conditional statements to switch between different xpaths based on the platform
Utilize Appium's platformName capability to identify the platform and adjust the element xpath accordingly
TestNG annotations include @Test, @BeforeMethod, @AfterMethod, @BeforeClass, @AfterClass, @BeforeSuite, @AfterSuite
@Test - denotes a test method
@BeforeMethod - runs before each test method
@AfterMethod - runs after each test method
@BeforeClass - runs before the first test method in the current class
@AfterClass - runs after the last test method in the current class
@BeforeSuite - runs before all tests in the suite
@AfterSu
pom.xml is a configuration file used in Maven projects to define project settings and dependencies.
pom.xml stands for Project Object Model XML
It is used in Maven projects to manage project configuration, build settings, and dependencies
Dependencies are mentioned inside the <dependencies> tag in pom.xml
Each dependency is specified with <groupId>, <artifactId>, and <version>
I applied via Recruitment Consulltant and was interviewed before May 2022. There were 6 interview rounds.
I wanted to join HCL because of its reputation for innovation and its commitment to employee growth and development.
HCL has a strong reputation for innovation in the technology industry.
I was impressed by HCL's focus on employee growth and development.
HCL's collaborative work culture and diverse teams were appealing to me.
I believe HCL offers great opportunities for career advancement.
HCL's global presence and client b...
My vocublary, pronunciation
I am interested in the Senior Quality Analyst job because of my passion for ensuring high-quality products and improving processes.
I have a strong background in quality assurance and have successfully implemented quality control measures in my previous roles.
I am excited about the opportunity to lead a team and contribute to the overall quality strategy of the organization.
I enjoy analyzing data and identifying areas f...
I applied via Recruitment Consultant and was interviewed before Dec 2020. There was 1 interview round.
Identify root cause, provide training, set clear expectations, offer support and feedback.
Identify the root cause of poor performance
Provide training and development opportunities
Set clear expectations and goals
Offer support and feedback regularly
Consider reassigning tasks or roles if necessary
I applied via Naukri.com and was interviewed before Jan 2021. There were 2 interview rounds.
HCLTech interview questions for designations
What people are saying about HCLTech
I applied via Naukri.com and was interviewed before Jul 2020. There was 1 interview round.
Name mangling is a technique used by compilers to give unique names to functions and variables to avoid naming conflicts.
Name mangling is used in C++ to support function overloading.
It is also used in Python to avoid naming conflicts in modules.
Name mangling can make it difficult to access variables and functions from outside the class in which they are defined.
In C++, name mangling can be seen by using the 'nm' comman
I applied via Naukri.com and was interviewed in Aug 2020. There were 3 interview rounds.
Abstract Factory is a creational design pattern that provides an interface for creating families of related objects.
Abstract Factory is used when we need to create families of related objects without specifying their concrete classes.
It provides an interface for creating objects of related classes without specifying their concrete classes.
It encapsulates a group of factories that have a common theme.
It promotes loose c...
Range based map iteration can be done using a for-each loop or iterators.
Use a for-each loop to iterate over the map elements.
Alternatively, use iterators to traverse the map.
The range-based for loop is preferred for its simplicity and readability.
Example: for(auto const& [key, value] : myMap) { //do something with key and value }
Detached threads are independent threads that run separately from the main thread. Joined threads are threads that wait for the main thread to finish.
Detached threads are created using pthread_detach() function
Joined threads are created using pthread_join() function
Detached threads do not need to be explicitly terminated
Joined threads must be explicitly terminated using pthread_exit() or return statement
Detached thread...
Static code analysis tools are software programs that analyze source code to find potential issues and improve code quality.
Static code analysis tools scan code without executing it
They can detect issues such as security vulnerabilities, coding errors, and performance problems
Examples of static code analysis tools include SonarQube, ESLint, and Checkstyle
Command to list currently running threads in linux
Use the 'ps' command with the 'H' option to display threads in a hierarchy
Use the 'top' command to display threads in real-time
Use the 'htop' command for an interactive display of threads
No, arithmetic operations cannot be performed on unique pointers.
Unique pointers are used to manage the lifetime of dynamically allocated objects.
They cannot be copied or assigned, only moved.
Arithmetic operations are not defined for pointers, including unique pointers.
based on 3 interviews
Interview experience
based on 15 reviews
Rating in categories
Software Engineer
23.3k
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Lead
21.2k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
15.8k
salaries
| ₹0 L/yr - ₹0 L/yr |
Lead Engineer
14.9k
salaries
| ₹0 L/yr - ₹0 L/yr |
Analyst
14.4k
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Wipro
Accenture
Cognizant