Upload Button Icon Add office photos

Filter interviews by

Xyz Company Senior Java Developer Interview Questions and Answers

Updated 2 Nov 2023

Xyz Company Senior Java Developer Interview Experiences

1 interview found

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
-

I was interviewed in Oct 2023.

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 

Arrays, String, Linked list

Round 3 - Technical 

(1 Question)

  • Q1. Tell me abt ur self, tell me abt your project, what is multi-threading in Java, concurrency control, etc.

Interview questions from similar companies

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
-
Result
No response

I was interviewed in Oct 2024.

Round 1 - Technical 

(4 Questions)

  • Q1. Spring cloud gateway
  • Q2. JWT Token structure and details
  • Q3. Java 11 features
  • Q4. Stream related problems
Interview experience
1
Bad
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Hackerrank - Hackerrank test including multiple choice and 2 programming questions

Round 2 - Technical 

(1 Question)

  • Q1. Garbage collector internal implementation algorithm
  • Ans. 

    Garbage collector is an automatic memory management system in Java that reclaims memory by deallocating objects no longer in use.

    • Garbage collector uses different algorithms like Mark-Sweep, Mark-Compact, and Copying to reclaim memory.

    • Mark-Sweep algorithm marks objects as reachable or unreachable, then sweeps through and deletes the unreachable objects.

    • Mark-Compact algorithm moves reachable objects to one end of the mem...

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed before Feb 2023. There was 1 interview round.

Round 1 - Technical 

(5 Questions)

  • Q1. Java oops concepts , Java memory model , Java, lambda expressions example
  • Q2. What are the oops concepts
  • Ans. 

    Object-oriented programming concepts that help in organizing and designing code for reusability and maintainability.

    • Encapsulation: Bundling data and methods that operate on the data into a single unit (class).

    • Inheritance: Allowing a class to inherit properties and behavior from another class.

    • Polymorphism: Ability of objects to take on multiple forms or types.

    • Abstraction: Hiding the implementation details and showing on

  • Answered by AI
  • Q3. What is stream api
  • Ans. 

    Stream API is a feature in Java that allows processing collections of objects in a functional style.

    • Stream API provides a way to perform operations on collections like filter, map, reduce, etc.

    • It supports functional programming paradigms like lambda expressions.

    • Example: List names = Arrays.asList("Alice", "Bob", "Charlie"); Stream stream = names.stream();

Answered by AI
  • Q4. What is lambda expressions
  • Ans. 

    Lambda expressions are anonymous functions that allow you to pass behavior as an argument to a method.

    • Lambda expressions are used to provide a concise way to represent behavior as data.

    • They are commonly used in functional programming and can be used to implement functional interfaces.

    • Lambda expressions can be used to iterate through collections using the forEach method.

  • Answered by AI
  • Q5. What Java memory model
  • Ans. 

    The Java memory model defines how threads interact through memory when accessing shared data.

    • Defines the rules for reading and writing to shared variables in a multithreaded environment

    • Ensures visibility of changes made by one thread to other threads

    • Specifies the order in which operations are executed and how they are synchronized

  • Answered by AI

    Interview Preparation Tips

    Interview preparation tips for other job seekers - Prepare core Java and oops concepts

    Skills evaluated in this interview

    Interview experience
    4
    Good
    Difficulty level
    Moderate
    Process Duration
    Less than 2 weeks
    Result
    Selected Selected

    I applied via Recruitment Consulltant and was interviewed before Mar 2023. There were 4 interview rounds.

    Round 1 - Coding Test 

    There is coding test consists of Easy / Medium DSA Question on Array/String/Hashing

    Round 2 - Technical 

    (1 Question)

    • Q1. Java 8 Feature, Immutable, OOPS, Hashmap Internal, Exception Handling, Multthreading lots of Qs asked( Synchonization , Lock ), Collection Framework, Singleton DP.
    Round 3 - Technical 

    (1 Question)

    • Q1. Project Discussion, Spring Boot Microservice related FAQ, @Transactional, Qualifier, JPA related Question, Design APIs for a given Use Case & Apply Authentication & Authorization, SOLID Design Principles
    Round 4 - Behavioral 

    (1 Question)

    • Q1. Explain Latest Project Architechture, asked Cross Question why RDBMS database , why not NoSQL DB used, How OAuth works/ how API Security implemented in your project, Explain any recent Prod Issue you have ...

    Interview Preparation Tips

    Interview preparation tips for other job seekers - Focus on : Java 8+ Feature, Multithreading, Collection & Spring Boot

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

    Round 1 - Technical 

    (1 Question)

    • Q1. 1. Eager , Lazy Singleton Design Pattern. 2. Java 8 Stream , Functions (Predicate , Supplier , Consumer ) , Comparator Chaining 3. Designing Pattern -> Count Like / Seen any Post of Instagram , Reduce N/W...

    Interview Preparation Tips

    Interview preparation tips for other job seekers - Average Question , Stick to the Basic Concepts .

    Please confirm with HR if they are really interested to hire candidate , In my case i felt they were not really interested to hire .
    Interview experience
    5
    Excellent
    Difficulty level
    Moderate
    Process Duration
    Less than 2 weeks
    Result
    Not Selected

    I applied via Naukri.com and was interviewed in Sep 2024. There were 3 interview rounds.

    Round 1 - Technical 

    (2 Questions)

    • Q1. Write an API to fetch the id and JSON from the client.
    • Ans. 

      Create an API to fetch id and JSON from the client.

      • Create a RESTful API endpoint that accepts requests from the client

      • Use a GET request to fetch the id and JSON data from the client

      • Implement error handling for invalid requests or missing data

    • Answered by AI
    • Q2. Find forth highest salary from List using java 8.
    • Ans. 

      Use Java 8 stream to find the forth highest salary from a List.

      • Use stream() method to convert the List to a stream.

      • Use distinct() method to remove duplicates.

      • Use sorted() method to sort the salaries in ascending order.

      • Use skip() method to skip the first three highest salaries.

      • Use findFirst() method to get the forth highest salary.

    • Answered by AI
    Round 2 - Technical 

    (2 Questions)

    • Q1. Microservice Architecture questions
    • Q2. Spring Boot Annotations
    Round 3 - HR 

    (2 Questions)

    • Q1. Salary Expectation
    • Q2. Basic HR questions

    Skills evaluated in this interview

    Interview experience
    5
    Excellent
    Difficulty level
    Easy
    Process Duration
    2-4 weeks
    Result
    No response

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

    Round 1 - Technical 

    (1 Question)

    • Q1. Project Architecture
    Round 2 - Technical 

    (1 Question)

    • Q1. Informatica tech questions
    Interview experience
    5
    Excellent
    Difficulty level
    -
    Process Duration
    -
    Result
    -
    Round 1 - Aptitude Test 

    MCQ test consisting of 70 mcqs in 75 minutes from aptitude english and cs fundamentals. If cleared next paper 2 coding qs medium level

    Round 2 - Technical 

    (2 Questions)

    • Q1. Two sum leetcode problem
    • Q2. What problems you faced in your project
    • Ans. 

      I faced challenges with integrating third-party APIs and debugging complex logic.

      • Difficulty in understanding and implementing third-party APIs

      • Issues with data synchronization between different systems

      • Troubleshooting complex logic errors

      • Managing dependencies and version conflicts

      • Time constraints affecting problem-solving

    • Answered by AI
    Interview experience
    5
    Excellent
    Difficulty level
    -
    Process Duration
    -
    Result
    -

    I applied via Campus Placement

    Round 1 - Coding Test 

    DP graphs strings it was good

    Round 2 - Technical 

    (2 Questions)

    • Q1. Reverse a linkded list
    • Ans. 

      Reverse a linked list by changing the direction of pointers

      • Start with three pointers: current, previous, and next

      • Iterate through the list, updating pointers to reverse the direction

      • Return the new head of the reversed list

    • Answered by AI
    • Q2. Print fibonacci series
    • Ans. 

      The Fibonacci series is a sequence of numbers where each number is the sum of the two preceding ones.

      • Start with two variables initialized to 0 and 1

      • Loop through desired number of iterations, adding the previous two numbers to get the next number

      • Print or store each number in the series

    • Answered by AI

    Skills evaluated in this interview

    Xyz Company Interview FAQs

    How many rounds are there in Xyz Company Senior Java Developer interview?
    Xyz Company interview process usually has 3 rounds. The most common rounds in the Xyz Company interview process are Resume Shortlist, Coding Test and Technical.

    Tell us how to improve this page.

    Xyz Company Senior Java Developer Salary
    based on 6 salaries
    ₹7.2 L/yr - ₹27.2 L/yr
    At par with the average Senior Java Developer Salary in India
    View more details
    Software Engineer
    1k salaries
    unlock blur

    ₹12.8 L/yr - ₹35 L/yr

    Manager
    804 salaries
    unlock blur

    ₹21.6 L/yr - ₹47 L/yr

    Software Developer
    779 salaries
    unlock blur

    ₹11.5 L/yr - ₹35 L/yr

    Consultant
    402 salaries
    unlock blur

    ₹8.5 L/yr - ₹29 L/yr

    Senior Software Engineer
    367 salaries
    unlock blur

    ₹12 L/yr - ₹42 L/yr

    Explore more salaries
    Compare Xyz Company with

    Bajaj Finserv

    4.0
    Compare

    Wells Fargo

    3.9
    Compare

    JPMorgan Chase & Co.

    4.1
    Compare

    HSBC Group

    4.0
    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