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 84.4k 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
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

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

Round 1 - Technical 

(9 Questions)

  • Q1. Transactions in springboot
  • Ans. 

    Transactions in Spring Boot manage database operations as a single unit of work to ensure data integrity.

    • Spring Boot provides support for declarative transaction management using @Transactional annotation.

    • Transactions can be configured at class or method level.

    • Transactions can be rolled back in case of exceptions to maintain data consistency.

    • Example: @Transactional annotation on a service method ensures that all databa...

  • Answered by AI
  • Q2. Difference between arraylist and linked list
  • Ans. 

    ArrayList is resizable array implementation, LinkedList is doubly linked list implementation.

    • ArrayList uses dynamic array to store elements, LinkedList uses doubly linked list.

    • ArrayList is faster for accessing elements by index, LinkedList is faster for adding/removing elements.

    • Example: ArrayList arrList = new ArrayList<>(); LinkedList linkedList = new LinkedList<>();

Answered by AI
  • Q3. How REST API used
  • Ans. 

    REST API is used to communicate between client and server using HTTP methods like GET, POST, PUT, DELETE.

    • REST API allows clients to access and manipulate resources on a server using standard HTTP methods.

    • It uses URLs to identify resources and HTTP methods to perform actions on those resources.

    • Common HTTP methods used in REST API are GET (retrieve data), POST (create data), PUT (update data), DELETE (remove data).

    • REST A...

  • Answered by AI
  • Q4. Annotations in springboot
  • Ans. 

    Annotations in Spring Boot are used to provide metadata about the application and its components.

    • Annotations are used to configure Spring Boot applications, define beans, handle requests, etc.

    • Examples include @SpringBootApplication, @RestController, @Autowired, @RequestMapping, etc.

  • Answered by AI
  • Q5. Features of java 8
  • Ans. 

    Java 8 introduced several new features including lambda expressions, functional interfaces, streams, and default methods in interfaces.

    • Lambda expressions allow for more concise code and enable functional programming.

    • Functional interfaces are interfaces with a single abstract method, used for lambda expressions.

    • Streams provide a way to work with collections of objects in a functional style.

    • Default methods in interfaces ...

  • Answered by AI
  • Q6. How interface is implemented in java
  • Ans. 

    Interfaces in Java are implemented using the 'implements' keyword, allowing classes to provide specific implementations for methods defined in the interface.

    • Interfaces in Java define a contract for classes to implement, specifying method signatures without implementations.

    • A class can implement multiple interfaces by separating them with commas.

    • Classes implementing an interface must provide concrete implementations for ...

  • Answered by AI
  • Q7. How stream API works
  • Ans. 

    Stream API in Java provides a way to process collections of objects in a functional style.

    • Stream API allows for functional-style operations on collections like map, filter, reduce, etc.

    • It supports lazy evaluation, meaning operations are only performed when needed.

    • Streams can be sequential or parallel, depending on the source and operations used.

  • Answered by AI
  • Q8. Benefits of springboot over spring
  • Ans. 

    Spring Boot simplifies the setup and development of Spring applications by providing a convention-over-configuration approach.

    • Spring Boot eliminates the need for XML configuration by using annotations and sensible defaults.

    • It includes embedded servers like Tomcat, Jetty, or Undertow, making it easy to deploy standalone applications.

    • Auto-configuration feature reduces the amount of boilerplate code needed to set up a Spr...

  • Answered by AI
  • Q9. Difference between throw and throwable
  • Ans. 

    throw is a keyword used to explicitly throw an exception, while Throwable is a class that serves as the base class for all exceptions in Java.

    • throw is used to throw an exception in a method, while Throwable is the superclass of all exceptions in Java.

    • throw is followed by an instance of Throwable class or its subclasses, while Throwable is a class that provides common methods for handling exceptions.

    • Example: throw new N...

  • Answered by AI

    Interview Preparation Tips

    Interview preparation tips for other job seekers - Try to speak about one topic of more time it will increase the time of interview.

    Skills evaluated in this interview

    Interview experience
    1
    Bad
    Difficulty level
    -
    Process Duration
    -
    Result
    -
    Round 1 - Technical 

    (2 Questions)

    • Q1. No one showed up to interview
    • Q2. Even they don’t responded to my mails

    Interview Preparation Tips

    Interview preparation tips for other job seekers - Respect other people time
    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 Jul 2024. There were 2 interview rounds.

    Round 1 - Group Discussion 

    They asked question about myself

    Round 2 - Coding Test 

    Gave codeing in advance java concepts

    Interview experience
    1
    Bad
    Difficulty level
    -
    Process Duration
    -
    Result
    -
    Round 1 - Coding Test 

    Good coding questions related array and string

    Interview experience
    3
    Average
    Difficulty level
    Moderate
    Process Duration
    Less than 2 weeks
    Result
    Not Selected

    I applied via Recruitment Consulltant and was interviewed in May 2024. There was 1 interview round.

    Round 1 - Coding Test 

    1. Basic Java
    2. Code Snippet
    3. Microservices

    Interview experience
    3
    Average
    Difficulty level
    -
    Process Duration
    -
    Result
    -
    Round 1 - Technical 

    (1 Question)

    • Q1. Write a query for inner join
    • Ans. 

      An inner join query combines rows from two or more tables based on a related column between them.

      • Use the SELECT statement to specify the columns you want to retrieve

      • Use the FROM clause to specify the tables you want to join

      • Use the INNER JOIN keyword to perform an inner join based on a common column

    • Answered by AI

    Skills evaluated in this interview

    Interview experience
    4
    Good
    Difficulty level
    Easy
    Process Duration
    2-4 weeks
    Result
    -

    I applied via Referral and was interviewed in May 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 - Technical 

    (2 Questions)

    • Q1. What are the advantages of spring boot
    • Ans. 

      Spring Boot provides a simplified way to create stand-alone, production-grade Spring-based Applications.

      • Rapid application development

      • Embedded server for easy deployment

      • Auto-configuration for setting up Spring projects quickly

      • Microservices support

      • Actuator for monitoring and managing applications

    • Answered by AI
    • Q2. Java oops concept and sql questions
    Round 3 - Technical 

    (2 Questions)

    • Q1. Questions on the current project
    • Q2. Microservices architecture in spring microservices
    • Ans. 

      Microservices architecture in Spring is a way of designing software applications as a collection of loosely coupled services.

      • Microservices architecture breaks down a large application into smaller, independent services that can be developed, deployed, and scaled independently.

      • Spring Boot and Spring Cloud are commonly used frameworks for building microservices in Java.

      • Each microservice typically has its own database and...

    • Answered by AI

    Skills evaluated in this interview

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

    I applied via Company Website and was interviewed in Jun 2023. There were 5 interview rounds.

    Round 1 - Resume Shortlist 
    Pro Tip by AmbitionBox:
    Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
    View all tips
    Round 2 - Aptitude Test 

    Logical aptitude.
    Spatial aptitude.
    Organisational aptitude.
    Physical aptitude.

    Round 3 - Case Study 

    Why they chose your company.
    How your product solved the problem clients faced.
    The measurable results of the service provided.

    Round 4 - HR 

    (5 Questions)

    • Q1. Self introduction for
    • Q2. Introduction your self
    • Q3. Why do you choose this company
    • Q4. I'm like all food my
    • Ans. Favourite food is biriyani it's my All time favourite
    • Answered Anonymously
    • Q5. That all when I'm thinking
    Round 5 - Group Discussion 

    Group discussion means one of the news project will be comes we're discussing about that project it's is group discussion

    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.

    People are getting interviews through

    based on 1 TCS interview
    Job Portal
    100%
    Low Confidence
    ?
    Low Confidence means the data is based on a small number of responses received from the candidates.

    Interview Questions from Similar Companies

    Accenture Interview Questions
    3.9
     • 7.8k Interviews
    Infosys Interview Questions
    3.7
     • 7.4k Interviews
    Wipro Interview Questions
    3.7
     • 5.5k Interviews
    Cognizant Interview Questions
    3.8
     • 5.4k Interviews
    Capgemini Interview Questions
    3.8
     • 4.7k Interviews
    Tech Mahindra Interview Questions
    3.6
     • 3.7k Interviews
    HCLTech Interview Questions
    3.6
     • 3.6k Interviews
    Genpact Interview Questions
    3.9
     • 2.9k Interviews
    LTIMindtree Interview Questions
    3.9
     • 2.7k Interviews
    IBM Interview Questions
    4.1
     • 2.3k 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
    68.2k salaries
    unlock blur

    ₹5.1 L/yr - ₹15.8 L/yr

    AST Consultant
    50.9k salaries
    unlock blur

    ₹8 L/yr - ₹25 L/yr

    Assistant System Engineer
    31.4k salaries
    unlock blur

    ₹2.2 L/yr - ₹5.6 L/yr

    Associate Consultant
    28.3k salaries
    unlock blur

    ₹8.9 L/yr - ₹32 L/yr

    Explore more salaries
    Compare TCS with

    Amazon

    4.1
    Compare

    Wipro

    3.7
    Compare

    Infosys

    3.7
    Compare

    Accenture

    3.9
    Compare

    Calculate your in-hand salary

    Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
    Did you find this page helpful?
    Yes No
    write
    Share an Interview