i
HCLTech
Filter interviews by
Clear (1)
I applied via Campus Placement
A constructor is a special method that is used to initialize objects of a class.
Constructors have the same name as the class they belong to.
They are called automatically when an object is created.
They can be used to set initial values for object properties.
Constructors can be overloaded to accept different parameters.
Example: public class Car { public Car() { // constructor code here } }
Multiple inheritance cannot be achieved directly in Java, but it can be simulated using interfaces or abstract classes.
Java does not support multiple inheritance of classes
Multiple inheritance can be achieved using interfaces or abstract classes
Interfaces allow a class to inherit from multiple interfaces
Abstract classes can provide partial implementation and can be extended by a single class
I applied via Campus Placement
A constructor is a special method that is used to initialize objects of a class.
Constructors have the same name as the class they belong to.
They are called automatically when an object of the class is created.
They can be used to set default values for object properties.
Constructors can be overloaded to accept different parameters.
Example: public class Car { public Car() { // constructor code here } }
Java does not support multiple inheritance, but it can be achieved using interfaces.
Java supports multiple interface inheritance
A class can implement multiple interfaces
Interfaces can extend other interfaces
Example: class A implements interface B and C
Example: interface B extends interface D and E
I applied via Company Website and was interviewed before Nov 2020. There were 4 interview rounds.
I am a software trainee with knowledge in linked list and array list.
I have experience in implementing linked lists and array lists in various programming languages.
Linked lists are dynamic data structures while array lists are static data structures.
Linked lists are efficient for insertion and deletion operations while array lists are efficient for random access.
Examples of programming languages that support linked li
What people are saying about HCLTech
I applied via Company Website and was interviewed before Dec 2020. There were 4 interview rounds.
I applied via Referral and was interviewed before Jan 2021. There was 1 interview round.
I applied via Newspaper Ad and was interviewed before Jun 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Apr 2021. There were 2 interview rounds.
I applied via Referral and was interviewed before Apr 2021. There were 2 interview rounds.
Puzzles, Psychometric Test
I applied via Walk-in and was interviewed before Jul 2021. There was 1 interview round.
I applied via Company Website and was interviewed before Jun 2021. There were 2 interview rounds.
First round was coding as well as aptitude done together went well I guess focusing on codes helps a lot.
based on 2 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