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

Compare button icon Compare button icon Compare
3.7

based on 36.8k Reviews

Filter interviews by

Infosys Senior Java Software Engineer Interview Questions, Process, and Tips

Updated 19 Sep 2022

Infosys Senior Java Software Engineer Interview Experiences

1 interview found

I applied via Naukri.com and was interviewed in Aug 2022. There were 3 interview rounds.

Round 1 - Technical 

(4 Questions)

  • Q1. What is java and how it is platform independent
  • Ans. 

    Java is a high-level programming language used to develop applications that can run on any platform.

    • Java code is compiled into bytecode that can run on any platform with a Java Virtual Machine (JVM)

    • JVM acts as an interpreter and translates bytecode into machine code

    • Java's platform independence is achieved through the 'Write Once, Run Anywhere' (WORA) principle

    • Java's standard library provides platform-independent APIs f

  • Answered by AI
  • Q2. What are new features in Java 8
  • Ans. 

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

    • Lambda expressions for functional programming

    • Streams for efficient processing of large data sets

    • Default methods for backward compatibility

    • Date and Time API for improved handling of date and time

    • Nashorn JavaScript engine for improved performance

    • Type annotations for improved type checking

    • Parallel array sorting for improved p...

  • Answered by AI
  • Q3. What is serialization in java
  • Ans. 

    Serialization is the process of converting an object into a stream of bytes to store or transmit it.

    • Serialization is used to save and restore object states

    • Java provides Serializable interface to implement serialization

    • Serialization can be used for inter-process communication and distributed systems

    • Deserialization is the process of converting a stream of bytes back into an object

    • Serialization can be customized using rea

  • Answered by AI
  • Q4. What is static variable
  • Ans. 

    Static variable is a variable that belongs to the class and not to the instance of the class.

    • Static variables are declared using the 'static' keyword.

    • They are initialized only once, at the start of the program.

    • They can be accessed using the class name, without creating an instance of the class.

    • Changes made to a static variable are reflected across all instances of the class.

    • Example: 'public static int count = 0;'

  • Answered by AI
Round 2 - Technical 

(2 Questions)

  • Q1. What is collections and why to use them in java
  • Ans. 

    Collections are a group of classes and interfaces used to store and manipulate groups of objects in Java.

    • Collections provide a way to store and manipulate groups of objects in Java

    • They offer various data structures like List, Set, Map, etc.

    • Collections provide methods to add, remove, and search for elements in the data structures

    • They also offer algorithms for sorting and searching elements

    • Examples include ArrayList, Has

  • Answered by AI
  • Q2. What is ResultSet in Java and why we should avoid it
  • Ans. 

    ResultSet is an interface in Java used to retrieve data from a database. It should be avoided due to its performance issues.

    • ResultSet is used to retrieve data from a database in Java

    • It has performance issues and should be avoided if possible

    • Alternative options like JPA or Hibernate can be used instead

  • Answered by AI
Round 3 - HR 

(2 Questions)

  • Q1. Why you want to join Infosys
  • Q2. Tell me something about infosys

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare for questions thouroughly and learn concepts

Skills evaluated in this interview

Interview questions from similar companies

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
Selected Selected
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 

(1 Question)

  • Q1. Core Java , advanced java
Round 3 - HR 

(1 Question)

  • Q1. Salary discussion

I applied via Referral and was interviewed in Jan 2022. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Basic questions on microservices
  • Q2. Implementation of HashSet,remove duplicates, project related questions, Apache Kafka implementation,Basic questions on Strings and Oops concepts

Interview Preparation Tips

Interview preparation tips for other job seekers - Go through interview questions in java,springboot, microservices basics
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
    4
    Good
    Difficulty level
    Moderate
    Process Duration
    Less than 2 weeks
    Result
    -

    I applied via Recruitment Consulltant

    Round 1 - Coding Test 

    Online coding test with spring boot rest API and a java problem solving.

    Round 2 - Technical 

    (2 Questions)

    • Q1. Design a REST API
    • Ans. 

      Design a REST API for a backend Java developer

      • Define the resources and endpoints

      • Use HTTP methods like GET, POST, PUT, DELETE

      • Implement authentication and authorization

      • Use JSON for data exchange

      • Include error handling and status codes

    • Answered by AI
    • Q2. Provided a list of string with names. and the result should be with a map of the name as key and number of vovels as value. Use Java stream API only.

    Skills evaluated in this interview

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

    (4 Questions)

    • Q1. Asked program to return element in a balance array element. Solid design principle Springboot questions
    • Q2. Asked grouping by stream program
    • Q3. Spring questions
    • Q4. How to remove autoconfiguration in springboot
    • Ans. 

      To remove autoconfiguration in Spring Boot, exclude the specific autoconfiguration class from the application.

      • Exclude the autoconfiguration class using @EnableAutoConfiguration annotation with exclude attribute

      • Create a configuration class and exclude the specific autoconfiguration class using @EnableAutoConfiguration annotation

      • Use application.properties or application.yml to exclude autoconfiguration classes

    • Answered by AI

    Skills evaluated in this interview

    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

    Infosys Interview FAQs

    How many rounds are there in Infosys Senior Java Software Engineer interview?
    Infosys interview process usually has 3 rounds. The most common rounds in the Infosys interview process are Technical and HR.
    How to prepare for Infosys Senior Java Software Engineer 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 Infosys. The most common topics and skills that interviewers at Infosys expect are Banking Operations, Manufacturing, Surpac, Technology Leadership and Wiring Harness.
    What are the top questions asked in Infosys Senior Java Software Engineer interview?

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

    1. What is ResultSet in Java and why we should avoid...read more
    2. What is java and how it is platform independ...read more
    3. What is collections and why to use them in j...read more

    Tell us how to improve this page.

    People are getting interviews through

    based on 1 Infosys interview
    Job Portal
    100%
    Low Confidence
    ?
    Low Confidence means the data is based on a small number of responses received from the candidates.
    Join Infosys Creating the next opportunity for people, businesses & communities

    Interview Questions from Similar Companies

    TCS Interview Questions
    3.7
     • 10.1k Interviews
    Accenture Interview Questions
    3.9
     • 7.9k Interviews
    Wipro Interview Questions
    3.7
     • 5.5k Interviews
    Cognizant Interview Questions
    3.8
     • 5.5k Interviews
    Capgemini Interview Questions
    3.8
     • 4.7k Interviews
    Tech Mahindra Interview Questions
    3.6
     • 3.7k Interviews
    HCLTech Interview Questions
    3.5
     • 3.7k Interviews
    Genpact Interview Questions
    3.9
     • 3k Interviews
    LTIMindtree Interview Questions
    3.9
     • 2.8k Interviews
    IBM Interview Questions
    4.1
     • 2.3k Interviews
    View all
    Technology Analyst
    56.5k salaries
    unlock blur

    ₹3 L/yr - ₹11 L/yr

    Senior Systems Engineer
    49.5k salaries
    unlock blur

    ₹2.8 L/yr - ₹8 L/yr

    System Engineer
    38.9k salaries
    unlock blur

    ₹2.5 L/yr - ₹5.4 L/yr

    Technical Lead
    30.7k salaries
    unlock blur

    ₹5.2 L/yr - ₹19.4 L/yr

    Senior Associate Consultant
    27.1k salaries
    unlock blur

    ₹6.2 L/yr - ₹16.8 L/yr

    Explore more salaries
    Compare Infosys with

    TCS

    3.7
    Compare

    Wipro

    3.7
    Compare

    Cognizant

    3.8
    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