i
HCLTech
Filter interviews by
A const pointer is a pointer that points to a constant value and cannot be used to modify the value it points to.
A const pointer is declared using the 'const' keyword before the pointer type.
Example: const int *ptr; // pointer to a constant integer value
The value pointed to by a const pointer cannot be modified.
Example: *ptr = 10; // This will result in a compilation error
Pointer to constant is a pointer that points to a constant value, meaning the value cannot be changed through the pointer.
Pointer to constant is declared using 'const' keyword before the data type.
The value pointed to by a pointer to constant cannot be modified.
Example: const int *ptr; // Pointer to constant integer
Pointers full depth question and programs
The 'extends' keyword in Java is used for inheritance, allowing a class to inherit properties and methods from another class.
Used in class declarations to create a subclass.
Syntax: 'class SubClass extends SuperClass {}'
Allows code reuse and establishes an 'is-a' relationship.
Example: 'class Dog extends Animal {}' means Dog is an Animal.
Can only extend one class (single inheritance) in Java.
I applied via Indeed and was interviewed in Jun 2024. There were 2 interview rounds.
They will give assignment with video explanation.
Question based on logical reasoning problem solving coding decoding and other
HCLTech interview questions for designations
Get interview-ready with Top HCLTech Interview Questions
I applied via Approached by Company and was interviewed in Jun 2024. There was 1 interview round.
I was inquired about Java programming and SQL queries.
I applied via Campus Placement and was interviewed in Sep 2022. There were 3 interview rounds.
Around 20 ppl participated out of which 7 were shortlisted from each batch.just be cofident
I applied via Campus Placement and was interviewed in Aug 2022. There were 4 interview rounds.
Similar to all company exams have aptitude and some coding questions
I applied via Campus Placement and was interviewed before Oct 2022. There were 3 interview rounds.
Reasoning test , logical reasoning
OOPs in Java refers to Object-Oriented Programming concepts like classes, objects, inheritance, polymorphism, and encapsulation. Looping in Java refers to repeating a block of code multiple times using loops like for, while, and do-while.
OOPs concepts in Java include classes, objects, inheritance, polymorphism, and encapsulation.
Looping in Java can be achieved using for, while, and do-while loops.
Example: for(int i=0;
The while loop executes a block of code as long as the specified condition is true, while the do while loop executes the block of code once before checking the condition.
While loop syntax: while (condition) { // code block to be executed }
Do while loop syntax: do { // code block to be executed } while (condition);
The do while loop will always execute the code block at least once, even if the condition is false.
What people are saying about HCLTech
based on 9 interviews
3 Interview rounds
based on 33 reviews
Rating in categories
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