Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by TCS Team. If you also belong to the team, you can get access from here

TCS Verified Tick

Compare button icon Compare button icon Compare
3.7

based on 87k Reviews

Filter interviews by

TCS Software Java Engineer Interview Questions, Process, and Tips

Updated 3 May 2023

TCS Software Java Engineer Interview Experiences

1 interview found

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Apr 2023. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - HR 

(2 Questions)

  • Q1. What is your technology stack?
  • Ans. 

    My technology stack includes Java, Spring Boot, Hibernate, MySQL, and Angular.

    • Java for backend development

    • Spring Boot for creating RESTful APIs

    • Hibernate for ORM

    • MySQL for database management

    • Angular for frontend development

    • Experience with AWS and Docker

  • Answered by AI
  • Q2. Current domain and daily rountine.
Round 3 - Technical 

(15 Questions)

  • Q1. Features of java8 and java 8 related questions
  • Q2. Write program to find even and odd number using lambda expression
  • Ans. 

    Program to find even and odd number using lambda expression

    • Create a list of numbers

    • Use lambda expression to filter even and odd numbers

    • Print the even and odd numbers

  • Answered by AI
  • Q3. Stream Api program to sort employees using cities ?
  • Ans. 

    Sort employees by cities using Stream API

    • Create a list of employees with their respective cities

    • Use Stream API to sort the list by cities

    • Print the sorted list of employees

  • Answered by AI
  • Q4. How do you manage memory leakage in your application?
  • Ans. 

    Memory leakage can be managed by identifying and fixing the root cause of the issue.

    • Use a profiler tool to identify the source of the memory leak

    • Analyze the code to find out if there are any objects that are not being used and can be removed

    • Ensure that all objects are properly disposed of after use

    • Use weak references instead of strong references where possible

    • Avoid creating unnecessary objects

    • Regularly monitor memory u

  • Answered by AI
  • Q5. Lot of question about current domain and project
  • Q6. Features of springboot
  • Ans. 

    Spring Boot is a framework that simplifies the development of Java applications.

    • Provides a pre-configured environment for building production-grade applications

    • Uses embedded servers like Tomcat, Jetty, etc.

    • Supports auto-configuration, which eliminates the need for manual configuration

    • Offers a wide range of plugins and extensions for easy integration with other frameworks and tools

  • Answered by AI
  • Q7. Difference between Controller and RestController
  • Ans. 

    Controller is used for general MVC architecture while RestController is used for RESTful web services.

    • Controller is used for handling user requests and returning a view

    • RestController is used for handling RESTful web services and returning JSON/XML response

    • RestController is a specialized version of Controller

    • RestController is annotated with @RestController while Controller is annotated with @Controller

    • Example: @Controll...

  • Answered by AI
  • Q8. Concurrent hashmap
  • Q9. Which type of collection do you use in your current project
  • Ans. 

    We use ArrayList and HashMap in our current project.

    • ArrayList is used to store and manipulate a list of objects.

    • HashMap is used to store key-value pairs for efficient retrieval.

    • We also use HashSet for storing unique elements and LinkedList for efficient insertion and deletion.

    • The choice of collection depends on the specific use case and performance requirements.

  • Answered by AI
  • Q10. Steps to create springboot application
  • Ans. 

    Steps to create a Spring Boot application

    • Create a new Spring Boot project using Spring Initializr

    • Add necessary dependencies in pom.xml or build.gradle file

    • Create a main class with @SpringBootApplication annotation

    • Create necessary packages and classes for controllers, services, and repositories

    • Configure application properties in application.properties or application.yml file

    • Run the application using IDE or command line

  • Answered by AI
  • Q11. How to change embedded server in springboot
  • Ans. 

    To change embedded server in Spring Boot, modify the pom.xml file and application.properties file.

    • Update the pom.xml file with the desired server dependency

    • Update the application.properties file with the server port and context path

    • Restart the application to apply the changes

  • Answered by AI
  • Q12. Sql left and inner join
  • Q13. Hibernate vs jpa
  • Ans. 

    Hibernate is an implementation of JPA, which is a specification for ORM in Java.

    • JPA is a specification for ORM in Java, while Hibernate is an implementation of that specification.

    • Hibernate provides additional features beyond the JPA specification.

    • JPA is more portable across different ORM implementations, while Hibernate is more feature-rich.

    • Hibernate is often used in enterprise applications where complex mappings and c

  • Answered by AI
  • Q14. Can we use lambda expression without functional interface
  • Ans. 

    No, lambda expressions can only be used with functional interfaces.

    • Lambda expressions are used to implement functional interfaces.

    • Functional interfaces have only one abstract method.

    • Lambda expressions provide a concise way to implement the abstract method of a functional interface.

    • If a lambda expression is used without a functional interface, it will result in a compilation error.

  • Answered by AI
  • Q15. Advantages of microservice
  • Ans. 

    Microservices offer advantages such as scalability, flexibility, and easier maintenance.

    • Scalability: Microservices can be scaled independently, allowing for better resource utilization and cost savings.

    • Flexibility: Microservices can be developed and deployed independently, allowing for faster time-to-market and easier updates.

    • Easier maintenance: Microservices are smaller and more focused, making it easier to identify a...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Tip1- Practice all the features of java 8 and make sure you can explain them well, ensure that you can properly explain your current domain to others
Tip2- java 8 questions mostly involve lambda expression, stream api, sorting and string related programs and arrays, Regular practice in these area can help you to feel more comfortable during interview
Tip3-Read up all the core concepts of spring
Tip4-Be confident
Tip5-Focus on highlighting your skills and currrent project during the interview, Be prepare to discuss your experiecne in detail
Tip6-If you have good knowlogde of technology and framework then only mention in resume.

Skills evaluated in this interview

Interview questions from similar companies

I applied via Recruitment Consulltant and was interviewed in Oct 2021. There were 2 interview rounds.

Round 1 - One-on-one 

(1 Question)

  • Q1. Core java basics Hashmap internal working Oops concept Java 8 feature
Round 2 - Coding Test 

Find out duplicate element
Find out duplicate element and count of duplicate

Interview Preparation Tips

Interview preparation tips for other job seekers - Be prepared core java well, spring boot, skill mentioned in resume.
Interview experience
1
Bad
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I was interviewed in Jan 2025.

Round 1 - Coding Test 

A sequence was provided: 4181, 2684, 1597, 987, 610.
first 2 are given and write code for other value calculation using java 8

The second question required writing a reverse of a palindrome using both Java 8 streams. I was able to successfully write both and clear the first round.

Round 2 - Technical 

(6 Questions)

  • Q1. Interviewer was himself not knowing anything as it was walkin drive he was sitting infront of me and checking questions on phone Introduction that he inturrepted in between when I was introducing myself
  • Q2. What are the features of Java 17, specifically related to sealed classes, including their syntax and necessity, along with the potential errors encountered when invoking a sealed class?
  • Q3. Java 8 feathers stream api, functional interface, Intermittent operator ,Ternary operator, Prediction,Bi predicate. Answered all successfully
  • Q4. Draw low level design of implementation of notify me if item is back in stock in a ecommerce application
  • Q5. All design patterns which I know. Asked me to implement adapter pattern on paper
  • Q6. Then given a problem that concurrent way perform operation on excell to decrease the response time

Interview Preparation Tips

Interview preparation tips for other job seekers - I always suggest staying away from these companies commonly referred to as WITCH (Wipro, Infosys, TCS, Cognizant, HCL). You will rarely encounter good interviewers there unless there is an extreme necessity. Interview was judging me on the basis of syntex by seeing in his phone. How can everyone write each and everything on copy. For the low level design first time in my 6 years carrier someone asked to design without using kafka or any other library like spring boot to achieve that add in reminder list problem 😂. At first it was my bad after holding a offer of almost 27 lakh I somehow agreed for giving interview. Second thing I also know that after Even clearing they cannot afford 30LPA which I asked. I just went there because from last 6.5 year I have never attended any walking or face to face interview so was curious for it. Currently also working with somewhat premium product development company only. My experience was very bad. May be it can get vary person to person.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Technical 

(7 Questions)

  • Q1. Create one Spring boot controller from end to end. No need to create a spring boot project we just want to see the structure and end to end implementation.
  • Q2. Write a java 8 program to get the characters from a string whose count is 2 or more than 2 e.g. input: baseball , output: b, a, l.
  • Q3. Why you left your previous organization.
  • Q4. What is the functional interface
  • Q5. What are the OOPS concepts. and some questions related to inheritance.
  • Q6. Asked about the project mentioned in CV (Client project) and asked its architecture.
  • Q7. Various SQL join types
Round 2 - HR 

(3 Questions)

  • Q1. Are you ready to relocate to job location
  • Q2. Why are you leaving your previous organization.
  • Q3. Expectation about salary

Interview Preparation Tips

Interview preparation tips for other job seekers - Do your basics strong, and keep hands on problems.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(6 Questions)

  • Q1. Java 8 , java 11 and java 17 features?
  • Ans. 

    Java 8 introduced lambda expressions, Java 11 added local-variable syntax for lambda parameters, and Java 17 included sealed classes and pattern matching.

    • Java 8 introduced lambda expressions for functional programming.

    • Java 11 added local-variable syntax for lambda parameters to simplify code.

    • Java 17 included sealed classes to restrict inheritance and pattern matching for instanceof checks and type casts.

  • Answered by AI
  • Q2. Dispatcher servlet, design patterns
  • Q3. @SpringbootApplication annotation, actuators
  • Q4. String Coding question with java 8 features such as lambda function and stream api
  • Q5. Number of words in a string
  • Ans. 

    Count the number of words in a given string.

    • Split the string by spaces and count the number of resulting elements.

    • Handle edge cases like multiple spaces or empty strings.

    • Consider punctuation marks as part of words unless specified otherwise.

  • Answered by AI
  • Q6. Microservice design patterns
Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Walk-in and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Technical 

(4 Questions)

  • Q1. Given an array {1, 2, 1, 4, 5, 4, 8, 7}, how can you use Streams to remove duplicates while retaining only the even numbers?
  • Ans. 

    Use Streams to remove duplicates and retain only even numbers from an array.

    • Convert the array to a stream using Arrays.stream()

    • Use distinct() to remove duplicates

    • Filter out odd numbers using filter()

    • Collect the result using collect(Collectors.toList())

  • Answered by AI
  • Q2. What is the use of Static and final when you will use Static methods
  • Ans. 

    Static methods can be accessed without creating an instance of the class, while final keyword makes the method unchangeable.

    • Static methods belong to the class itself, not to any specific instance

    • Final keyword ensures that the method cannot be overridden in subclasses

    • Static methods are commonly used for utility methods that do not require access to instance variables

    • Example: Math class in Java has static methods like Ma

  • Answered by AI
  • Q3. What is the difference between @restController and @controller Annotation
  • Ans. 

    The @RestController annotation is used to define RESTful web services while @Controller annotation is used to define MVC controller.

    • RestController is a specialized version of Controller used for RESTful web services

    • RestController eliminates the need for @ResponseBody annotation

    • Controller is used for traditional MVC controller functionality

    • RestController returns data directly without needing to go through a view resolve...

  • Answered by AI
  • Q4. What is microservices why we use it
  • Ans. 

    Microservices are a software development technique where applications are composed of small, independent services that communicate with each other.

    • Microservices allow for easier scalability and maintenance of complex applications.

    • Each service in a microservices architecture can be developed, deployed, and scaled independently.

    • Microservices promote flexibility and agility in software development.

    • Examples of companies us...

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Cognizant Senior Java Developer interview:
  • Java SpringBoot
Interview preparation tips for other job seekers - Need to have strong knowledge on basics Java Spring boot and Microservices
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-

I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(3 Questions)

  • Q1. What are intermediate and terminal operations
  • Q2. Predefined functional interface
  • Q3. Ways to create Thread

Interview Preparation Tips

Interview preparation tips for other job seekers - It was moderate level of interview
Interview experience
1
Bad
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Not Selected

I applied via Recruitment Consulltant and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Coding Test 

The first round was an interview conducted with a GENAI virtual bot.

Round 2 - One-on-one 

(2 Questions)

  • Q1. Internal architecture of Spring boot, how enable autoconfiguration works
  • Ans. 

    Spring Boot uses autoconfiguration to automatically configure the Spring application based on dependencies and properties.

    • Spring Boot autoconfiguration is achieved through @EnableAutoConfiguration annotation

    • Autoconfiguration classes are located in the org.springframework.boot.autoconfigure package

    • Autoconfiguration classes are conditionally applied based on the presence of specific classes or properties

  • Answered by AI
  • Q2. Questions mostly on microservices and coding question on restTemplate

Interview Preparation Tips

Topics to prepare for Wipro Senior Java Developer interview:
  • Java
  • Spring Boot
  • Microservices
  • REST API
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - One-on-one 

(3 Questions)

  • Q1. Difference between hashmap and hash table
  • Ans. 

    HashMap is non-synchronized and allows null values, while HashTable is synchronized and does not allow null values.

    • HashMap is non-synchronized, meaning it is not thread-safe, while HashTable is synchronized and thread-safe.

    • HashMap allows null values for both keys and values, while HashTable does not allow null keys or values.

    • HashMap is generally preferred for non-thread-safe applications, while HashTable is used in mul

  • Answered by AI
  • Q2. Static block related questions
  • Q3. Arraylist and linkedlist question

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
6-8 weeks
Result
Not Selected

I applied via Job Fair and was interviewed in Oct 2024. There were 4 interview rounds.

Round 1 - Aptitude Test 

Onlin test consist pf easy numerical questions

Round 2 - Coding Test 

Easy questions not so difficult

Round 3 - Technical 

(3 Questions)

  • Q1. Java oops concept
  • Q2. Basic sprophramming questions
  • Q3. Networking firewall cisco
Round 4 - HR 

(2 Questions)

  • Q1. Personal questions
  • Q2. Whetehr to willing to work in any locations
  • Ans. 

    Yes, I am willing to work in any location for the right opportunity.

    • I am open to relocating for the right job opportunity

    • I am flexible and adaptable to new environments

    • I believe working in different locations can provide valuable experiences and growth opportunities

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Tech Mahindra Java Developer interview:
  • Networking
Interview preparation tips for other job seekers - nothiung

TCS Interview FAQs

How many rounds are there in TCS Software Java Engineer interview?
TCS interview process usually has 3 rounds. The most common rounds in the TCS interview process are Resume Shortlist, HR and Technical.
What are the top questions asked in TCS Software Java Engineer interview?

Some of the top questions asked at the TCS Software Java Engineer interview -

  1. How do you manage memory leakage in your applicati...read more
  2. Stream Api program to sort employees using citie...read more
  3. can we use lambda expression without functional interf...read more

Tell us how to improve this page.

TCS Software Java Engineer Interview Process

based on 1 interview

Interview experience

5
  
Excellent
View more

Interview Questions from Similar Companies

Accenture Interview Questions
3.9
 • 8.1k Interviews
Infosys Interview Questions
3.7
 • 7.6k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Cognizant Interview Questions
3.8
 • 5.5k Interviews
Capgemini Interview Questions
3.8
 • 4.8k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.8k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
Genpact Interview Questions
3.9
 • 3k Interviews
LTIMindtree Interview Questions
3.8
 • 3k Interviews
IBM Interview Questions
4.0
 • 2.4k Interviews
View all
TCS Software Java Engineer Salary
based on 16 salaries
₹3.7 L/yr - ₹8 L/yr
27% less than the average Software Java Engineer Salary in India
View more details
System Engineer
1.1L salaries
unlock blur

₹1 L/yr - ₹9 L/yr

IT Analyst
67.4k salaries
unlock blur

₹5.1 L/yr - ₹16 L/yr

AST Consultant
51.3k salaries
unlock blur

₹8 L/yr - ₹25 L/yr

Assistant System Engineer
29.9k salaries
unlock blur

₹2.2 L/yr - ₹5.6 L/yr

Associate Consultant
29k salaries
unlock blur

₹9 L/yr - ₹32 L/yr

Explore more salaries
Compare TCS with

Amazon

4.1
Compare

Wipro

3.7
Compare

Infosys

3.6
Compare

Accenture

3.9
Compare
Did you find this page helpful?
Yes No
write
Share an Interview