i
HTC Global Services
Filter interviews by
I applied via LinkedIn and was interviewed in Aug 2024. There were 2 interview rounds.
Top trending discussions
I applied via Naukri.com
OOP Concepts refer to the principles of Object-Oriented Programming, including encapsulation, inheritance, and polymorphism.
Encapsulation: Bundling data and methods that operate on the data into a single unit (object)
Inheritance: Allowing a new class to inherit properties and behavior from an existing class
Polymorphism: The ability for objects of different classes to respond to the same message in different ways
Method overloading is when multiple methods have the same name but different parameters. Method overriding is when a subclass provides a specific implementation of a method that is already provided by its parent class.
Method overloading involves creating multiple methods in the same class with the same name but different parameters.
Method overriding occurs in a subclass that provides a specific implementation of a meth...
Multithreading is a programming concept where multiple threads run concurrently within a single process.
Allows for parallel execution of tasks
Improves performance by utilizing multiple CPU cores
Requires synchronization to prevent race conditions
Examples: creating a GUI application with responsive UI, processing multiple requests simultaneously in a web server
Some design patterns in microservices architecture include Service Registry, Circuit Breaker, and API Gateway.
Service Registry: Allows services to dynamically discover and communicate with each other.
Circuit Breaker: Prevents cascading failures by failing fast and providing fallback mechanisms.
API Gateway: Acts as a single entry point for clients to access multiple microservices.
Event Sourcing: Stores the state of a sy...
JDK is Java Development Kit, which includes tools for developing Java applications. JIT is Just-In-Time compiler, which compiles Java bytecode to native machine code at runtime.
JDK is a software development kit used for developing Java applications.
JIT is a component of the Java Virtual Machine (JVM) that improves the performance of Java applications by compiling bytecode to native machine code at runtime.
JDK includes ...
Annotations in Java provide metadata about a program that can be used by the compiler or at runtime.
Annotations start with the @ symbol.
Annotations can be used to provide information to the compiler or to runtime environments.
Annotations can be used to define custom metadata for classes, methods, fields, etc.
Annotations can also be used for code generation, documentation, and validation.
Examples of annotations in Java ...
ConcurrentSkipListMap is a concurrent, sorted map implementation in Java.
ConcurrentSkipListMap is a concurrent version of SkipListMap, which is a sorted map implementation based on skip list data structure.
It allows multiple threads to access and modify the map concurrently.
It provides logarithmic time complexity for most operations, making it efficient for concurrent access.
Example: ConcurrentSkipListMap
I applied via Referral and was interviewed in Aug 2024. There were 2 interview rounds.
1 Assignment which you need to solve in front of the interviewer
I applied via Job Fair and was interviewed in Feb 2024. There was 1 interview round.
Java is a backend language, Javascript is a frontend language. Synchronization in Java ensures only one thread can access a resource at a time. JavaScript is single-threaded but can handle asynchronous operations using callbacks, promises, and async/await.
Java is a backend language used for server-side development, while JavaScript is a frontend language used for client-side scripting.
Synchronization in Java is a techn...
A Pojo class is a simple Java class that contains only private fields, public getters and setters, and no-arg constructor.
Create private fields for employee details like name, id, salary, etc.
Generate public getters and setters for each field.
Include a no-arg constructor in the class.
Example: public class Employee { private String name; private int id; public String getName() { return name; } public void setName(String...
To compare two objects with the same class, override the equals and hashCode methods in the class.
Override the equals method to compare the fields of the objects for equality.
Override the hashCode method to generate a unique hash code based on the object's fields.
Ensure that the equals and hashCode methods are consistent with each other.
Example: public class Person { private String name; private int age; }
JPA Repository provides inbuilt methods for common database operations in Spring applications.
JPA Repository provides methods like save(), findById(), findAll(), deleteById(), etc.
These methods help in performing CRUD operations on entities without writing custom queries.
For example, userRepository.save(user) saves a user entity to the database.
I applied via Recruitment Consulltant and was interviewed in Jan 2024. There were 2 interview rounds.
I applied via LinkedIn and was interviewed in Mar 2024. There was 1 interview round.
I applied via Job Portal and was interviewed in Oct 2023. There was 1 interview round.
Kubernetes is an open-source container orchestration platform for automating deployment, scaling, and managing containerized applications.
Automates deployment, scaling, and management of containerized applications
Provides self-healing capabilities for applications
Supports horizontal scaling for better resource utilization
Offers declarative configuration for easy management
Allows for rolling updates and rollbacks of app
SAO is a monolithic architecture while Microservices is a distributed architecture.
SAO is a single large application with all components tightly coupled, while Microservices is a collection of small, independent services.
SAO is harder to scale and maintain, while Microservices allows for easier scalability and maintenance.
SAO can lead to longer development cycles and slower deployment, while Microservices enables faste...
I applied via Walk-in and was interviewed in Aug 2023. There were 3 interview rounds.
Basic aptitude questions
Basic coding questions
String in build program refers to the process of concatenating multiple strings to create a final output.
Use StringBuilder or StringBuffer for efficient string concatenation.
Avoid using '+' operator for concatenating large number of strings.
Consider using String.format() for formatting strings with placeholders.
posted on 14 Jun 2023
Java basic problems , Array , Collections, String , Java 8 , Spring Boot,String MVC
Count the occurrence of each word in a sentence using Java code.
Split the sentence into an array of words using split() method.
Create a HashMap to store each word and its count.
Iterate through the array and update the count in the HashMap.
Print the word and its count at the end.
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Senior Software Engineer
703
salaries
| ₹7.2 L/yr - ₹26.2 L/yr |
Senior Engineer
544
salaries
| ₹8 L/yr - ₹31 L/yr |
Software Engineer
525
salaries
| ₹3.6 L/yr - ₹13.3 L/yr |
Software Developer
302
salaries
| ₹3 L/yr - ₹12 L/yr |
Lead
267
salaries
| ₹9.1 L/yr - ₹35 L/yr |
Accenture
TCS
Infosys
Wipro