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 86.4k Reviews

Filter interviews by

TCS Core Java Developer Interview Questions and Answers

Updated 2 Mar 2023

TCS Core Java Developer Interview Experiences

3 interviews found

I applied via Company Website and was interviewed in Feb 2022. There was 1 interview round.

Round 1 - One-on-one 

(3 Questions)

  • Q1. Why are you interested in Java?
  • Ans. 

    I am interested in Java because of its versatility, performance, and widespread use in the industry.

    • Java is a versatile programming language that can be used for a wide range of applications, from web development to mobile app development.

    • Java is known for its performance and scalability, making it suitable for building high-performance and robust applications.

    • Java has a large and active community, with a vast amount o...

  • Answered by AI
  • Q2. Tell me about yourself?
  • Q3. My self Sable Krushna Vitthal I have completed my graduation Dr.BAMU University Aurangabad I have a knowledge to core Java HTML CSS JavaScript..

Interview Preparation Tips

Topics to prepare for TCS Core Java Developer interview:
  • Java
Interview preparation tips for other job seekers - I am interested to work in your company I am giving to you my best our company

Skills evaluated in this interview

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

I applied via Walk-in and was interviewed in Feb 2023. There were 2 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 is object explanation in object
  • Ans. 

    Object is an instance of a class that encapsulates data and behavior.

    • An object is created from a class using the 'new' keyword

    • Objects have state and behavior

    • State is represented by instance variables and behavior is represented by methods

    • Objects can interact with each other through method calls

    • Objects can be passed as arguments to methods and returned from methods

  • Answered by AI
  • Q2. Any real world living and non living things is called object

Interview Preparation Tips

Topics to prepare for TCS Core Java Developer interview:
  • Core Java
Interview preparation tips for other job seekers - I am pudi kishore i completed my graduation in BCOM computer applications

Core Java Developer Interview Questions Asked at Other Companies

asked in TCS
Q1. Why are you interested in Java?
asked in TCS
Q2. What is object explanation in object
asked in TCS
Q3. What is java?
Q4. Inheritance in java

I applied via Naukri.com and was interviewed in Aug 2021. There were 4 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. What is java?
  • Ans. 

    Java is a high-level, object-oriented programming language used for developing a wide range of applications.

    • Java is platform-independent, meaning it can run on any operating system.

    • It is known for its simplicity, readability, and robustness.

    • Java uses a virtual machine (JVM) to execute code, providing portability.

    • It supports multithreading, allowing concurrent execution of multiple tasks.

    • Java has a vast standard library...

  • Answered by AI
  • Q2. Java is object based programming language.

Interview Preparation Tips

Interview preparation tips for other job seekers - Based on java Programs and java based viva questions and more.

Skills evaluated in this interview

Interview questions from similar companies

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 Apr 2023. There was 1 interview round.

Round 1 - HR 

(3 Questions)

  • Q1. Tell me something about my self
  • Q2. Why should we hire you
  • Q3. Salary expectation

Interview Preparation Tips

Topics to prepare for Cognizant Core Java Developer interview:
  • Core java concepts
Interview experience
3
Average
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed in Mar 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 

(3 Questions)

  • Q1. Multiple questions and core java
  • Q2. Core java and oracle
  • Q3. Core java and Oracle and multiple questions
Round 3 - HR 

(3 Questions)

  • Q1. Core java trainer
  • Q2. Core java and oracle
  • Q3. Multiple questions and core java

Interview Preparation Tips

Interview preparation tips for other job seekers - Core java

I applied via Recruitment Consultant and was interviewed in Jul 2020. There was 1 interview round.

Interview Questionnaire 

4 Questions

  • Q1. JVM
  • Q2. JIT
  • Q3. Opps
  • Q4. Abstract

Interview Preparation Tips

Interview preparation tips for other job seekers - Ask me more question
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(8 Questions)

  • Q1. What improvements to interfaces were introduced in Java 8 that were missing in Java 7, specifically regarding static and default methods?
  • Ans. 

    Java 8 introduced static and default methods in interfaces, allowing for method implementation and code reusability.

    • Java 8 introduced static methods in interfaces, allowing for method implementation directly in the interface itself.

    • Default methods were also introduced in Java 8, enabling interfaces to have method implementations without affecting implementing classes.

    • Static methods in interfaces can be called using the...

  • Answered by AI
  • Q2. Explain internal working of HashMap ? How to synchronize it ?
  • Ans. 

    HashMap is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values.

    • HashMap uses an array of linked lists to store key-value pairs.

    • When a key-value pair is added, the key is hashed to determine the index in the array where it will be stored.

    • If multiple keys hash to the same index, a linked list is used to handle collisions.

    • To synchronize a HashMap, you can use the synchronizedMap() m...

  • Answered by AI
  • Q3. Given a list of employees with their ratings, how can you sort the employees based on their ratings using the Java 8 Streaming API?
  • Q4. Will the program compile if the parent class throws a runtime exception while the child class throws an arithmetic exception?
  • Ans. 

    No, the program will not compile if the parent class throws a runtime exception while the child class throws an arithmetic exception.

    • In Java, if a parent class method throws a checked exception, the child class method can only throw the same exception or its subclasses.

    • ArithmeticException is an unchecked exception, so if the parent class throws a checked exception and the child class throws an unchecked exception, the ...

  • Answered by AI
  • Q5. In a Spring Boot application with two databases, how can you configure JDBC to specify which database to use?
  • Ans. 

    Configure JDBC in Spring Boot to specify which database to use

    • Define multiple DataSource beans in the configuration class

    • Use @Primary annotation to specify the primary DataSource

    • Use @Qualifier annotation to specify the secondary DataSource

    • Inject the DataSource beans where needed in the application

  • Answered by AI
  • Q6. How to use a jetty server in your spring boot application ?
  • Ans. 

    To use a Jetty server in a Spring Boot application, you can configure it as a dependency and customize its settings.

    • Add Jetty server dependency in your pom.xml file

    • Exclude Tomcat server dependency if it's included by default in Spring Boot

    • Configure Jetty server settings in application.properties or application.yml file

    • Example: Add Jetty dependency - <dependency> <groupId>org.springframework.boot</groupId...

  • Answered by AI
  • Q7. Difference between @RequestParam and @PathVariable ?
  • Ans. 

    RequestParam is used to extract query parameters from the URL, while PathVariable is used to extract values from the URI path.

    • RequestParam is used for query parameters in the URL, while PathVariable is used for values in the URI path.

    • RequestParam is optional, while PathVariable is required.

    • RequestParam is used with the @RequestParam annotation, while PathVariable is used with the @PathVariable annotation.

    • Example: @Requ...

  • Answered by AI
  • Q8. How would you handle a scenario where one microservice is awaiting a response from another microservice that is taking an extended time to respond?
  • Ans. 

    I would implement timeout mechanisms and retries to handle the scenario of one microservice awaiting a response from another microservice taking an extended time.

    • Implement timeout mechanisms in the calling microservice to limit the waiting time for a response.

    • Set up retry logic to automatically resend the request to the slow microservice if no response is received within the specified timeout period.

    • Use circuit breaker...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare the basics about Java 8 , Core Java , Springboot , Microservices and MySql.
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
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

TCS Interview FAQs

How many rounds are there in TCS Core Java Developer interview?
TCS interview process usually has 1-2 rounds. The most common rounds in the TCS interview process are One-on-one Round, Resume Shortlist and Technical.
How to prepare for TCS Core Java Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at TCS. The most common topics and skills that interviewers at TCS expect are Java, Spring Boot, Core Java, J2Ee and Microservices.
What are the top questions asked in TCS Core Java Developer interview?

Some of the top questions asked at the TCS Core Java Developer interview -

  1. Why are you interested in Ja...read more
  2. What is object explanation in obj...read more
  3. What is ja...read more

Tell us how to improve this page.

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 Core Java Developer Salary
based on 31 salaries
₹3.2 L/yr - ₹6.2 L/yr
11% less than the average Core Java Developer Salary in India
View more details
System Engineer
1.1L salaries
unlock blur

₹1 L/yr - ₹9 L/yr

IT Analyst
67.6k salaries
unlock blur

₹5.1 L/yr - ₹15.9 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
28.8k 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
Did you find this page helpful?
Yes No
write
Share an Interview