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.
  • Ans. 

    I am a Senior Java Developer with experience in multi-threading and concurrency control.

    • I have worked on various Java projects, including developing web applications and backend systems.

    • Multi-threading in Java allows multiple threads to execute concurrently within a single process.

    • Concurrency control is the management of simultaneous access to shared resources to prevent data inconsistency.

    • Examples of concurrency contr...

  • Answered by AI

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
    4
    Good
    Difficulty level
    Moderate
    Process Duration
    Less than 2 weeks
    Result
    No response

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

    Round 1 - Technical 

    (4 Questions)

    • Q1. Ask to write code for equal and hashcode in notepad
    • Q2. Type of Collections and its internal working
    • Ans. 

      Java collections are data structures that store and manipulate groups of objects.

      • Types of collections include List, Set, Map, Queue, etc.

      • Internal workings involve data structures like arrays, linked lists, hash tables, etc.

      • Collections framework provides interfaces and classes for working with collections.

    • Answered by AI
    • Q3. Count number of occurrence of string from Array
    • Ans. 

      Count occurrences of a specific string in an array of strings.

      • Iterate through the array and use a HashMap to store the count of each string.

      • Use the string as key and increment the count each time it is encountered.

      • Return the count of the specific string at the end.

    • Answered by AI
    • Q4. Write a code using stream
    • Ans. 

      Using stream to filter a list of strings

      • Use the filter method to apply a predicate to each element in the stream

      • Convert the stream back to a list using the collect method

    • Answered by AI

    Interview Preparation Tips

    Interview preparation tips for other job seekers - Due to network and power issue interview and processed

    Skills evaluated in this interview

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

    (2 Questions)

    • Q1. Given problem and asked me to solve
    • Q2. Sum of array of elements without using any llop
    • Ans. 

      Use reduce method to calculate sum of array elements without loop

      • Use Array.reduce() method to sum up the array elements

      • Convert array elements to numbers before summing them up

      • Example: const arr = ['1', '2', '3']; const sum = arr.reduce((acc, curr) => acc + Number(curr), 0);

    • Answered by AI

    Interview Preparation Tips

    Interview preparation tips for other job seekers - Mostly Asking questions on DSA and problem solving

    Skills evaluated in this interview

    Java Developer Interview Questions & Answers

    UBS user image Saloni Sharma

    posted on 24 May 2024

    Interview experience
    2
    Poor
    Difficulty level
    Hard
    Process Duration
    Less than 2 weeks
    Result
    Not Selected

    I applied via Company Website and was interviewed in Apr 2024. There was 1 interview round.

    Round 1 - Technical 

    (1 Question)

    • Q1. AWS project related
    Interview experience
    4
    Good
    Difficulty level
    Moderate
    Process Duration
    Less than 2 weeks
    Result
    Not Selected

    I applied via campus placement at Kalinga Institute of Industrial Technology, Khurda and was interviewed in Oct 2023. There were 2 interview rounds.

    Round 1 - Coding Test 

    Two easy code ,basic array string

    Round 2 - Technical 

    (2 Questions)

    • Q1. Coding question
    • Q2. Oops, dbms,sql,

    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 Interview Process

    based on 1 interview

    Interview experience

    4
      
    Good
    View more
    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
    1.1k salaries
    unlock blur

    ₹12.7 L/yr - ₹35.1 L/yr

    Software Developer
    910 salaries
    unlock blur

    ₹12.2 L/yr - ₹37 L/yr

    Manager
    793 salaries
    unlock blur

    ₹10.5 L/yr - ₹44.6 L/yr

    Senior Software Engineer
    441 salaries
    unlock blur

    ₹11.5 L/yr - ₹40 L/yr

    Team Lead
    363 salaries
    unlock blur

    ₹12 L/yr - ₹50 L/yr

    Explore more salaries
    Compare Xyz Company with

    Bajaj Finserv

    4.0
    Compare

    Wells Fargo

    3.9
    Compare

    JPMorgan Chase & Co.

    4.0
    Compare

    HSBC Group

    4.0
    Compare
    Did you find this page helpful?
    Yes No
    write
    Share an Interview