Premium Employer

i

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

Infosys Verified Tick Work with us arrow

Compare button icon Compare button icon Compare

Filter interviews by

Infosys Fullstack Java Developer Interview Questions and Answers

Updated 6 May 2023

9 Interview questions

A Fullstack Java Developer was asked
Q. What is the Collection Framework?
Ans. 

Collection framework is a set of classes and interfaces that provide a way to store and manipulate groups of objects.

  • It provides interfaces like List, Set, Queue, etc. for storing collections of objects.

  • It also provides classes like ArrayList, HashSet, PriorityQueue, etc. that implement these interfaces.

  • It allows easy manipulation of collections using methods like add, remove, contains, etc.

  • It provides algorithms ...

A Fullstack Java Developer was asked
Q. What is the difference between ArrayList and Vector?
Ans. 

ArrayList is not synchronized while Vector is synchronized.

  • ArrayList is faster than Vector as it is not synchronized.

  • Vector is thread-safe while ArrayList is not.

  • Vector is a legacy class while ArrayList is not.

  • Vector can grow by a specified amount while ArrayList grows by 50% of its size.

  • Example: ArrayList<Integer> list = new ArrayList<>(); Vector<Integer> vector = new Vector<>();

  • Example: l...

Fullstack Java Developer Interview Questions Asked at Other Companies

Q1. If needed, will you work on an older technology stack?
asked in LTIMindtree
Q2. Given a SQL table with employee ID, employee name, and manager ID ... read more
asked in LTIMindtree
Q3. Is it necessary for classes implementing an interface to implemen ... read more
asked in RealPage
Q4. What are the different annotations in Spring Boot, and what are t ... read more
Q5. In JavaScript, what is the difference between dot notation (.) fo ... read more
🔥 Asked by recruiter 2 times
A Fullstack Java Developer was asked
Q. What are joins in SQL?
Ans. 

Joins in SQL are used to combine data from two or more tables based on a related column.

  • Joins are used to retrieve data from multiple tables in a single query.

  • There are different types of joins such as inner join, left join, right join, and full outer join.

  • Inner join returns only the matching rows from both tables, left join returns all rows from the left table and matching rows from the right table, right join re...

A Fullstack Java Developer was asked
Q. What is an interface in Java?
Ans. 

An interface in Java is a collection of abstract methods and constants that can be implemented by a class.

  • Interfaces are used to achieve abstraction and provide a way to implement multiple inheritance in Java.

  • All methods in an interface are abstract by default and cannot have a body.

  • A class can implement multiple interfaces but can only extend one class.

  • Interfaces can also have default and static methods with a bo...

A Fullstack Java Developer was asked
Q. What is the difference between a WHERE clause and a HAVING clause in SQL?
Ans. 

Where clause filters rows before grouping, having clause filters groups after grouping.

  • Where clause is used to filter rows based on a condition before grouping.

  • Having clause is used to filter groups based on a condition after grouping.

  • Where clause is used with SELECT, UPDATE, DELETE statements.

  • Having clause is used with SELECT statement and GROUP BY clause.

  • Where clause cannot contain aggregate functions.

  • Having cla...

🔥 Asked by recruiter 2 times
A Fullstack Java Developer was asked
Q. What is synchronization?
Ans. 

Synchronization is the process of coordinating multiple threads to ensure safe and consistent access to shared resources.

  • Synchronization is used to prevent race conditions and ensure thread safety.

  • It can be achieved using synchronized blocks or methods.

  • Synchronization can cause performance issues if not used properly.

  • Example: Synchronizing access to a shared counter variable in a multi-threaded application.

🔥 Asked by recruiter 10 times
A Fullstack Java Developer was asked
Q. What is encapsulation?
Ans. 

Encapsulation is the process of hiding implementation details and providing access to only necessary information.

  • Encapsulation is achieved through access modifiers such as public, private, and protected.

  • It helps in achieving data abstraction and information hiding.

  • Encapsulation provides better control over the data and prevents unauthorized access.

  • Example: A class with private variables and public methods to acces...

Are these interview questions helpful?
A Fullstack Java Developer was asked
Q. What is autoboxing and auto-unboxing?
Ans. 

Autoboxing is the automatic conversion of primitive data types to their corresponding object wrapper classes.

  • Autoboxing allows primitive data types to be used as objects.

  • Auto-unboxing is the reverse process of autoboxing.

  • Autoboxing and auto-unboxing are performed automatically by the compiler.

  • Example: int i = 10; Integer j = i; // autoboxing

  • Example: Integer j = 10; int i = j; // auto-unboxing

A Fullstack Java Developer was asked
Q. What are the legacy classes in Java?
Ans. 

Legacy classes in Java are the classes that have been replaced by newer versions but are still supported for backward compatibility.

  • Legacy classes are part of the Java API and are still supported for backward compatibility.

  • They have been replaced by newer versions but are still used in older applications.

  • Examples of legacy classes include Vector, Hashtable, and Enumeration.

  • Legacy classes are not recommended for us...

Infosys Fullstack Java Developer Interview Experiences

1 interview found

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
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 - Coding Test 

(9 Questions)

  • Q1. What is sychronization ?
  • Ans. 

    Synchronization is the process of coordinating multiple threads to ensure safe and consistent access to shared resources.

    • Synchronization is used to prevent race conditions and ensure thread safety.

    • It can be achieved using synchronized blocks or methods.

    • Synchronization can cause performance issues if not used properly.

    • Example: Synchronizing access to a shared counter variable in a multi-threaded application.

  • Answered by AI
  • Q2. What is encapsulation ?
  • Ans. 

    Encapsulation is the process of hiding implementation details and providing access to only necessary information.

    • Encapsulation is achieved through access modifiers such as public, private, and protected.

    • It helps in achieving data abstraction and information hiding.

    • Encapsulation provides better control over the data and prevents unauthorized access.

    • Example: A class with private variables and public methods to access the...

  • Answered by AI
  • Q3. What is interface in java ?
  • Ans. 

    An interface in Java is a collection of abstract methods and constants that can be implemented by a class.

    • Interfaces are used to achieve abstraction and provide a way to implement multiple inheritance in Java.

    • All methods in an interface are abstract by default and cannot have a body.

    • A class can implement multiple interfaces but can only extend one class.

    • Interfaces can also have default and static methods with a body.

    • Ex...

  • Answered by AI
  • Q4. What is collection framework?
  • Ans. 

    Collection framework is a set of classes and interfaces that provide a way to store and manipulate groups of objects.

    • It provides interfaces like List, Set, Queue, etc. for storing collections of objects.

    • It also provides classes like ArrayList, HashSet, PriorityQueue, etc. that implement these interfaces.

    • It allows easy manipulation of collections using methods like add, remove, contains, etc.

    • It provides algorithms like ...

  • Answered by AI
  • Q5. What is diffrence between Arraylist and vector ?
  • Ans. 

    ArrayList is not synchronized while Vector is synchronized.

    • ArrayList is faster than Vector as it is not synchronized.

    • Vector is thread-safe while ArrayList is not.

    • Vector is a legacy class while ArrayList is not.

    • Vector can grow by a specified amount while ArrayList grows by 50% of its size.

    • Example: ArrayList<Integer> list = new ArrayList<>(); Vector<Integer> vector = new Vector<>();

    • Example: list.a...

  • Answered by AI
  • Q6. What are the legacy classes in java?
  • Ans. 

    Legacy classes in Java are the classes that have been replaced by newer versions but are still supported for backward compatibility.

    • Legacy classes are part of the Java API and are still supported for backward compatibility.

    • They have been replaced by newer versions but are still used in older applications.

    • Examples of legacy classes include Vector, Hashtable, and Enumeration.

    • Legacy classes are not recommended for use in ...

  • Answered by AI
  • Q7. What is joins in SQL ?
  • Ans. 

    Joins in SQL are used to combine data from two or more tables based on a related column.

    • Joins are used to retrieve data from multiple tables in a single query.

    • There are different types of joins such as inner join, left join, right join, and full outer join.

    • Inner join returns only the matching rows from both tables, left join returns all rows from the left table and matching rows from the right table, right join returns...

  • Answered by AI
  • Q8. What is autoboxing and auto-unboxing ?
  • Ans. 

    Autoboxing is the automatic conversion of primitive data types to their corresponding object wrapper classes.

    • Autoboxing allows primitive data types to be used as objects.

    • Auto-unboxing is the reverse process of autoboxing.

    • Autoboxing and auto-unboxing are performed automatically by the compiler.

    • Example: int i = 10; Integer j = i; // autoboxing

    • Example: Integer j = 10; int i = j; // auto-unboxing

  • Answered by AI
  • Q9. Difference between where clause and having clause in SQL ?
  • Ans. 

    Where clause filters rows before grouping, having clause filters groups after grouping.

    • Where clause is used to filter rows based on a condition before grouping.

    • Having clause is used to filter groups based on a condition after grouping.

    • Where clause is used with SELECT, UPDATE, DELETE statements.

    • Having clause is used with SELECT statement and GROUP BY clause.

    • Where clause cannot contain aggregate functions.

    • Having clause c...

  • Answered by AI

Skills evaluated in this interview

What people are saying about Infosys

View All
yedabhai
1w
works at
Hyperpure
Are we not even safe in our own workplaces?
An Infosys employee was arrested for secretly recording women in the office washroom. Over 30 videos were found on his phone. This isn't just shocking, it's horrifying. Offices are meant to be safe, respectful spaces. 🙎 When will companies truly prioritize safety and surveillance in all corners, not just the visible ones?
FeedCard Image
Got a question about Infosys?
Ask anonymously on communities.

Interview questions from similar companies

I applied via Approached by company and was interviewed in Dec 2021. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Java api calling from angular application and all security and integration related question.
  • Q2. Project structure related question
Round 2 - Technical 

(1 Question)

  • Q1. Project structure design patterns

Interview Preparation Tips

Topics to prepare for Capgemini Fullstack Java Developer interview:
  • api integration
  • angular project structure
Interview preparation tips for other job seekers - Questions asked like how you integrate or call your java api from angular application.
How java api allow any host to access it's api
annotation for api designing

Fullstack Java Developer Interview Questions Asked at Other Companies

Q1. If needed, will you work on an older technology stack?
asked in LTIMindtree
Q2. Given a SQL table with employee ID, employee name, and manager ID ... read more
asked in LTIMindtree
Q3. Is it necessary for classes implementing an interface to implemen ... read more
asked in RealPage
Q4. What are the different annotations in Spring Boot, and what are t ... read more
Q5. In JavaScript, what is the difference between dot notation (.) fo ... read more
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
Selected Selected

I applied via Company Website and was interviewed before May 2022. There were 3 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 

General aptitude, logical reasoning, english and Pseudocodes

Round 3 - Technical 

(1 Question)

  • Q1. Self introduction Project- details, role Programming- Variables, recursion, Features,Arrays, strings, write prime number program.

Interview Preparation Tips

Topics to prepare for Capgemini Fullstack Java Developer interview:
  • C language
  • Java
Interview preparation tips for other job seekers - Be confident while u r talking. If you don't know rhe answer, say it directly, do not lag.
Round 1 - One-on-one 

(1 Question)

  • Q1. A senior in my current team was asking questions. He was helping to complete my answers. Be prepared with oops, collection, thread concepts, spring, hibernate basics thoroughly.

Interview Preparation Tips

Interview preparation tips for other job seekers - Simple... Most was from angular for first round, then move to java. You should be strong in java. Front end they won't ask much questions

I applied via Approached by Company and was interviewed in Jan 2022. There were 2 interview rounds.

Round 1 - Coding Test 

Online hackerrank test on Angular and Java

Round 2 - Behavioral 

(3 Questions)

  • Q1. About project worked on
  • Q2. Roles and responsibilities
  • Q3. Problems faced in the project

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident, reply best possible way for the quesions by the point of view of interviewer

I applied via Naukri.com and was interviewed in Mar 2022. 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. Hashmap inter working, arraylist internal working, concurrent hashmap, comprator vs comprable, list, set, queue, transient vs volatile, Serializable, executor framework,
  • Q2. Java 8 features especaily stream
Round 3 - HR 

(5 Questions)

  • Q1. What are your salary expectations?
  • Ans. 

    I am open to discussing salary based on the responsibilities and requirements of the position.

    • I am flexible and open to negotiation.

    • I am looking for a competitive salary based on my skills and experience.

    • I would like to be compensated fairly for the value I can bring to the company.

    • I am interested in discussing the overall compensation package, including benefits and bonuses.

  • Answered by AI
  • Q2. What is your family background?
  • Ans. 

    My family background is diverse and multicultural, with members from different countries and professions.

    • My parents are from different countries, which has exposed me to different cultures and languages.

    • My father is a doctor and my mother is an engineer, which has influenced my interest in both medicine and technology.

    • I have relatives who are teachers, artists, and entrepreneurs, which has broadened my perspective on v...

  • Answered by AI
  • Q3. Why are you looking for a change?
  • Ans. 

    Looking for new challenges and growth opportunities.

    • Seeking a more challenging role to enhance my skills and knowledge.

    • Interested in working with new technologies and frameworks.

    • Want to be part of a dynamic and innovative team.

    • Desire for career growth and advancement.

    • Looking for a better work-life balance.

  • Answered by AI
  • Q4. Where do you see yourself in 5 years?
  • Ans. 

    In 5 years, I see myself as a highly skilled Fullstack Java Developer, leading a team and working on complex projects.

    • Leading a team of developers

    • Working on complex projects

    • Continuously improving my skills

    • Contributing to the success of the company

  • Answered by AI
  • Q5. Tell me about yourself.
  • Ans. 

    I am a Fullstack Java Developer with experience in developing web applications using Java, Spring, and JavaScript.

    • I have a strong understanding of Java programming language and its frameworks like Spring and Hibernate.

    • I am proficient in front-end technologies like HTML, CSS, and JavaScript.

    • I have experience in developing RESTful APIs and working with databases like MySQL and MongoDB.

    • I am familiar with Agile development...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Oops basic concept, angular, hibernate and spring framework
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

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

Round 1 - Technical 

(1 Question)

  • Q1. Java basics with oops concepts
Are these interview questions helpful?
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(4 Questions)

  • Q1. Java Basic questions
  • Q2. SpringBoot Basic questions
  • Q3. Simple DSA problem: "introduction" find duplicate characters
  • Ans. 

    Find duplicate characters in a given array of strings

    • Iterate through each string in the array

    • For each string, iterate through each character and store the count in a hashmap

    • If the count of any character is greater than 1, it is a duplicate

  • Answered by AI
  • Q4. Write code for REST API using spring boot, include all annotation
  • Ans. 

    Code for REST API using Spring Boot with annotations

    • Use @RestController annotation to define the class as a REST controller

    • Use @RequestMapping annotation to map HTTP requests to handler methods

    • Use @GetMapping, @PostMapping, @PutMapping, @DeleteMapping annotations for specific HTTP methods

    • Use @PathVariable annotation to extract values from the URI

    • Use @RequestBody annotation to bind HTTP request body to a method paramete...

  • Answered by AI

Skills evaluated in this interview

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

I applied via Naukri.com and was interviewed in Sep 2022. 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 - Aptitude Test 

Date -2 march 2023 ,Time 2-5pm , topics-Java

Round 3 - HR 

(5 Questions)

  • Q1. Tell me something about yourself.
  • Q2. What is your Excepted salary?
  • Q3. What is your greatest Strengths?
  • Q4. Concept of Core-java & Advance-java
  • Q5. Basic Interview Questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Market Yourself.
Apply even if u are not fully qualified
please schedule of my test AS soon as possible.
Interview experience
1
Bad
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Basic js question on hoisting, closure, promises
Round 2 - Behavioral 

(1 Question)

  • Q1. Basic resume based
Round 3 - HR 

(1 Question)

  • Q1. Salary discussion -- HR never responded

Infosys Interview FAQs

How many rounds are there in Infosys Fullstack Java Developer interview?
Infosys interview process usually has 2 rounds. The most common rounds in the Infosys interview process are Resume Shortlist and Coding Test.
What are the top questions asked in Infosys Fullstack Java Developer interview?

Some of the top questions asked at the Infosys Fullstack Java Developer interview -

  1. Difference between where clause and having clause in SQ...read more
  2. What is diffrence between Arraylist and vecto...read more
  3. What are the legacy classes in ja...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4/5

based on 1 interview experience

Join Infosys Creating the next opportunity for people, businesses & communities
Infosys Fullstack Java Developer Salary
based on 39 salaries
₹4.6 L/yr - ₹11 L/yr
23% less than the average Fullstack Java Developer Salary in India
View more details

Infosys Fullstack Java Developer Reviews and Ratings

based on 1 review

2.0/5

Rating in categories

1.0

Skill development

2.0

Work-life balance

2.0

Salary

1.0

Job security

1.0

Company culture

2.0

Promotions

1.0

Work satisfaction

Explore 1 Review and Rating
Technology Analyst
54.7k salaries
unlock blur

₹4.8 L/yr - ₹10 L/yr

Senior Systems Engineer
53.8k salaries
unlock blur

₹2.5 L/yr - ₹6.3 L/yr

Technical Lead
35.1k salaries
unlock blur

₹9.4 L/yr - ₹16.4 L/yr

System Engineer
32.5k salaries
unlock blur

₹2.4 L/yr - ₹5.3 L/yr

Senior Associate Consultant
31.3k salaries
unlock blur

₹8.2 L/yr - ₹15 L/yr

Explore more salaries
Compare Infosys with

TCS

3.6
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare

Accenture

3.7
Compare
write
Share an Interview