i
HCLTech
Filter interviews by
OOPs is a programming paradigm based on the concept of objects.
OOPs stands for Object-Oriented Programming.
It focuses on creating objects that contain both data and functions.
Encapsulation, Inheritance, Polymorphism, and Abstraction are the four main pillars of OOPs.
Java is an OOPs language.
Example: A car is an object that has properties like color, model, and functions like start, stop, and accelerate.
Java is used for developing desktop, web, mobile, and enterprise applications.
Desktop applications like media players, IDEs, and scientific applications
Web applications like e-commerce websites, social media platforms, and banking portals
Mobile applications for Android devices
Enterprise applications like customer relationship management systems and supply chain management systems
Polymorphism is the ability of an object to take on many forms.
Polymorphism allows objects of different classes to be treated as if they are of the same class.
It is achieved through method overriding and method overloading.
Example: A parent class Animal can have child classes like Dog, Cat, and Bird. All these child classes can have their own implementation of the method 'makeSound', which is overridden from the p...
There are four main OOPs concepts in Java: Abstraction, Encapsulation, Inheritance, and Polymorphism.
Abstraction: Hiding implementation details and showing only necessary information.
Encapsulation: Wrapping data and methods into a single unit and restricting access to them.
Inheritance: Acquiring properties and behavior of a parent class by a child class.
Polymorphism: Ability of an object to take many forms and per...
What people are saying about HCLTech
Java is a high-level, object-oriented programming language used to develop applications for various platforms.
Java is platform-independent and can run on any device with a Java Virtual Machine (JVM)
It is known for its security features and is commonly used for developing web and mobile applications
Java is also used for developing enterprise-level applications and software tools
Examples of Java-based applications i...
Inheritance is a mechanism in which one class acquires the properties and behaviors of another class.
It allows code reusability and saves time
The class that is inherited is called the superclass or parent class
The class that inherits from the superclass is called the subclass or child class
The subclass can access all the public and protected methods and fields of the superclass
Example: A Car class can inherit prop...
System.out.println is a Java statement used to print output to the console.
System is a class in Java's core library.
out is a static member of the System class.
println is a method of the PrintStream class.
It is used to print output to the console.
It adds a newline character at the end of the output.
Overloading is when multiple methods have the same name but different parameters. Overriding is when a subclass provides a different implementation of a method inherited from its superclass.
Overloading is resolved at compile-time based on the method signature.
Overriding is resolved at runtime based on the actual object type.
Overloading is used to provide different ways to call a method with different parameters.
Ov...
Yes, we can add string or integer value using map in Java.
We can use put() method to add values to a map.
For string values, we can use String as the value type.
For integer values, we can use Integer as the value type.
Example: Map
Example: Map
Join in SQL is used to combine rows from two or more tables based on a related column between them.
Join is used to retrieve data from multiple tables in a single query
Types of join include inner join, left join, right join, and full outer join
Join condition is specified using ON keyword
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column
Join can also be used with subqueries
I appeared for an interview in May 2025, where I was asked the following questions.
I appeared for an interview in Apr 2025, where I was asked the following questions.
I applied via Naukri.com and was interviewed in Oct 2023.ย There were 2 interview rounds.
The interview questions cover a range of topics related to Java development, including Java 8 features, data structures, annotations, and database triggers.
Use Java 8 features like streams and lambda expressions to compare two strings without using comparator or comparable.
To print non-duplicate elements in an array, use a HashSet to store unique elements and then iterate through the array to check for duplicates.
Solid...
I applied via Campus Placement and was interviewed before May 2023.ย There was 1 interview round.
I applied via Indeed and was interviewed in May 2022.ย There were 3 interview rounds.
Give any coding test and I solve it.
I applied via Campus Placement and was interviewed in Oct 2021.ย There were 3 interview rounds.
I applied via Company Website and was interviewed in Dec 2020.ย There were 3 interview rounds.
HTTP is a protocol for web communication, while 'generic' refers to a programming concept for type flexibility.
HTTP (Hypertext Transfer Protocol) is used for transferring data over the web.
Generics in Java allow for type-safe data structures, e.g., List<T>.
Example of HTTP: Sending a GET request to fetch a webpage.
Example of Generics: Using List<String> to store a list of strings.
Spring MVC is a framework for building web applications in Java, following the Model-View-Controller design pattern.
1. Client sends a request to the DispatcherServlet.
2. DispatcherServlet maps the request to a specific Controller based on URL.
3. The Controller processes the request, interacts with the Model (data), and prepares a response.
4. The Controller returns a ModelAndView object containing the data and the view ...
I applied via LinkedIn and was interviewed before Sep 2020.ย There was 1 interview round.
The duration of HCLTech Java Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 5 interview experiences
Difficulty level
Duration
based on 80 reviews
Rating in categories
Software Engineer
24.9k
salaries
| โน2.7 L/yr - โน8.1 L/yr |
Technical Lead
22.9k
salaries
| โน10.9 L/yr - โน21 L/yr |
Senior Software Engineer
16.8k
salaries
| โน5.4 L/yr - โน15.8 L/yr |
Lead Engineer
16.4k
salaries
| โน5.3 L/yr - โน12.4 L/yr |
Analyst
15.9k
salaries
| โน2.3 L/yr - โน6.5 L/yr |
TCS
Wipro
Accenture
Cognizant