i
TCS
Filter interviews by
I applied via LinkedIn and was interviewed in Feb 2023. There were 2 interview rounds.
Collections are Java classes that provide a way to store and manipulate groups of objects.
Collections are used to store and organize multiple objects in Java.
They provide various data structures and algorithms for efficient manipulation of objects.
Examples of collections include ArrayList, LinkedList, HashSet, and HashMap.
I applied via Company Website and was interviewed in Jan 2023. There were 3 interview rounds.
Spring MVC follows a Model-View-Controller architecture where the controller receives the requests, processes them, and returns the response.
Controller: Handles incoming requests and delegates processing to the appropriate service
Model: Represents the data and business logic of the application
View: Renders the model data and sends it back to the client
DispatcherServlet: Front controller that receives all incoming reque...
Multi threading is the ability of a program to execute multiple threads concurrently, allowing for better performance and responsiveness.
Allows multiple tasks to be performed simultaneously
Improves performance by utilizing multiple CPU cores
Can lead to synchronization issues if not handled properly
Example: A web server handling multiple client requests concurrently
Streams in Java are sequences of elements that support functional-style operations. They provide advantages like lazy evaluation and parallel processing.
Streams allow for functional-style operations like map, filter, and reduce.
They support lazy evaluation, meaning elements are processed only when needed.
Streams can be easily parallelized to improve performance.
Example: List
I applied via LinkedIn and was interviewed in Aug 2023. There was 1 interview round.
The answer provides a Java code snippet to find the number of times a word appeared in a file along with its line number and count.
Read the file line by line
Split each line into words
Create a map to store word counts and line numbers
Iterate through each word and update the map
Format the map data into JSON
What people are saying about TCS
I applied via Walk-in and was interviewed in Feb 2023. There were 2 interview rounds.
Java is a high-level, object-oriented programming language used for developing desktop, web, and mobile applications.
Java is platform-independent and can run on any operating system
It is known for its security features and is widely used for developing enterprise-level applications
Java has a vast library of pre-built classes and APIs that make development faster and easier
It supports multithreading, allowing multiple t...
TCS interview questions for designations
I applied via LinkedIn and was interviewed before Nov 2023. There was 1 interview round.
HashMap is non-synchronized and allows null values, while Hashtable is synchronized and does not allow null keys or values.
HashMap is non-synchronized, meaning it is not thread-safe, while Hashtable is synchronized and thread-safe.
HashMap allows null values and one null key, while Hashtable does not allow null keys or values.
HashMap is generally preferred for non-thread-safe applications, while Hashtable is used in thr
Java 8 introduced several new features including lambda expressions, functional interfaces, streams, and default methods in interfaces.
Lambda expressions allow you to write code in a more concise and readable way.
Functional interfaces are interfaces with a single abstract method, used for lambda expressions.
Streams provide a way to work with sequences of elements in a functional style.
Default methods in interfaces allo...
Spring Boot annotations are used to simplify the development process by providing shortcuts for common tasks.
Annotations like @SpringBootApplication, @RestController, @Autowired, @GetMapping, @PostMapping are commonly used in Spring Boot applications.
These annotations help in configuring the application, defining REST endpoints, injecting dependencies, and mapping HTTP requests to controller methods.
For example, @Sprin...
Dependency injection is a design pattern in which the dependencies of an object are provided externally rather than created within the object itself.
Dependency injection helps in achieving loose coupling between classes.
It allows for easier testing by providing mock dependencies.
There are three types of dependency injection: constructor injection, setter injection, and interface injection.
Example: Spring framework uses...
Bean scope in Java includes singleton, prototype, request, session, and application scopes.
Singleton scope: Default scope, only one instance per Spring container.
Prototype scope: New instance created each time bean is requested.
Request scope: Bean created for each HTTP request.
Session scope: Bean created for each HTTP session.
Application scope: Bean created once for entire web application.
Get interview-ready with Top TCS Interview Questions
I applied via Naukri.com and was interviewed before Jun 2023. There was 1 interview round.
I appeared for an interview in Jan 2023.
I applied via Recruitment Consulltant and was interviewed in Feb 2023. There were 3 interview rounds.
Discussion about the java featurs
I applied via Company Website and was interviewed in Jan 2023. There were 2 interview rounds.
I applied via Naukri.com and was interviewed before Nov 2023. There was 1 interview round.
String is a sequence of characters used to represent text in programming languages.
Strings are immutable in Java, meaning their values cannot be changed once they are created.
Strings can be created using double quotes or by calling the String constructor.
String concatenation can be done using the '+' operator.
Common methods for manipulating strings include length(), charAt(), substring(), toUpperCase(), toLowerCase().
Microservices communicate through lightweight protocols like HTTP, messaging queues, and RPC.
HTTP: RESTful APIs are commonly used for communication between microservices.
Messaging queues: Services can communicate asynchronously through message brokers like RabbitMQ or Kafka.
RPC (Remote Procedure Call): Services can directly call each other's functions over the network.
Java API works by providing a set of classes and interfaces that allow developers to interact with various functionalities and services.
Java API provides a standardized way for developers to access and use pre-built classes and interfaces.
Developers can use Java API to perform tasks such as file handling, networking, database access, and more.
Java API documentation provides detailed information on how to use each class...
The duration of TCS Java Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 174 interviews
4 Interview rounds
based on 586 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
66.2k
salaries
| ₹5 L/yr - ₹16 L/yr |
AST Consultant
51.9k
salaries
| ₹8 L/yr - ₹25 L/yr |
Associate Consultant
30.3k
salaries
| ₹9 L/yr - ₹32 L/yr |
Assistant System Engineer
29.8k
salaries
| ₹2.2 L/yr - ₹5.8 L/yr |
Amazon
Wipro
Infosys
Accenture