i
TCS
Filter interviews by
There are multiple ways to create a thread in Java, including extending the Thread class, implementing the Runnable interface, and using Java 8's lambda expressions.
Extending the Thread class
Implementing the Runnable interface
Using Java 8's lambda expressions
Spring is a framework for building Java applications, while Spring Boot is a tool that simplifies the setup and configuration of Spring applications.
Spring is a comprehensive framework that provides various modules for building Java applications, such as Spring MVC, Spring Security, and Spring Data.
Spring Boot is an opinionated tool that simplifies the setup and configuration of Spring applications by providing default...
Bean scope in Spring determines the lifecycle and visibility of a bean in the Spring container.
Bean scope defines how long a bean lives and how many instances are created
Common scopes include singleton, prototype, request, session, and application
Singleton scope creates a single instance per Spring container, prototype creates a new instance each time it is requested
Servlet is a Java class that handles requests and responses, while JSP is a technology that simplifies the creation of dynamic web pages.
Servlet is a Java class that extends the capabilities of servers to respond to requests. It is used to create dynamic web content.
JSP is a technology that simplifies the creation of dynamic web pages by allowing Java code to be embedded in HTML pages.
Servlets are used to handle busine...
Spring Boot validation is a feature that allows developers to validate input data in a Spring Boot application.
Spring Boot validation is used to ensure that the data entered by the user meets certain criteria.
It can be applied to request parameters, request bodies, and path variables.
Annotations like @NotNull, @Size, @Email, etc., are commonly used for validation.
Custom validation logic can also be implemented using cu
Garbage collection is the process of automatically reclaiming memory occupied by objects that are no longer in use by the program.
Garbage collection is a feature in Java that automatically manages memory by deallocating memory for objects that are no longer needed.
It helps in preventing memory leaks and ensures efficient memory usage.
Garbage collection runs in the background and identifies objects that are no longer re...
Method overloading is when multiple methods in the same class have the same name but different parameters.
Allows multiple methods with the same name but different parameters to be defined in a class.
Parameters can differ in number, type, or order.
Example: void print(int a) and void print(String s) are overloaded methods in the same class.
Stack memory is used for static memory allocation and execution of thread-specific variables, while heap memory is used for dynamic memory allocation.
Stack memory is used for static memory allocation, such as local variables and function call stack.
Heap memory is used for dynamic memory allocation, such as objects created using 'new' keyword.
Stack memory is limited in size and typically faster to access, while heap mem...
What people are saying about TCS
I applied via Naukri.com and was interviewed in Jan 2024. There was 1 interview round.
Patch and put are HTTP methods used for updating resources on a server.
PATCH is used to partially update a resource, while PUT is used to completely replace a resource.
PATCH requests only include the changes that need to be made, while PUT requests require sending the entire updated resource.
PATCH is often used for incremental updates, while PUT is used for full updates.
Example: PATCH request to update the 'name' field...
Runnable and Callable are interfaces in Java for creating threads. Runnable is used for tasks that don't return a result, while Callable is used for tasks that return a result.
Runnable is a functional interface with a single run() method, while Callable is a generic interface with a single call() method.
Runnable tasks are executed using the void run() method, while Callable tasks are executed using the Future
TCS interview questions for designations
We’re looking for java back end developer
Test was not that difficult just the basic programming questions
Get interview-ready with Top TCS Interview Questions
I applied via Naukri.com and was interviewed in Jan 2024. There were 2 interview rounds.
Move all zeros to right side of an array
The duration of TCS Java Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 31 interviews
3 Interview rounds
based on 545 reviews
Rating in categories
Hyderabad / Secunderabad
4-9 Yrs
Not Disclosed
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
67.2k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
AST Consultant
51.3k
salaries
| ₹8 L/yr - ₹25 L/yr |
Assistant System Engineer
29.8k
salaries
| ₹2.2 L/yr - ₹7 L/yr |
Associate Consultant
29k
salaries
| ₹9 L/yr - ₹32 L/yr |
Amazon
Wipro
Infosys
Accenture