Upload Button Icon Add office photos

Filter interviews by

Barclays Java Developer Interview Questions and Answers

Updated 12 Jul 2024

Barclays Java Developer Interview Experiences

4 interviews found

Java Developer Interview Questions & Answers

user image Ani Gayake

posted on 28 Jun 2024

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

I applied via Recruitment Consulltant and was interviewed in May 2024. There were 2 interview rounds.

Round 1 - Coding Test 

Java and sql questions

Round 2 - Technical 

(1 Question)

  • Q1. Basics of java ans core java
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Why string is immutable
  • Ans. 

    String is immutable in Java to ensure thread safety, security, and optimization.

    • Immutable strings are thread-safe as they cannot be modified concurrently by multiple threads.

    • String pooling is possible due to immutability, saving memory and improving performance.

    • Security is enhanced as sensitive information stored in strings cannot be altered.

    • Examples: String str = "Hello"; str.concat(" World"); // str remains "Hello"

  • Answered by AI
  • Q2. What is spring aop
  • Ans. 

    Spring AOP (Aspect-Oriented Programming) is a framework that provides cross-cutting concerns in a modular way.

    • Spring AOP allows separating cross-cutting concerns from the main application logic.

    • It enables developers to define aspects (cross-cutting concerns) separately and apply them to multiple classes.

    • Examples of cross-cutting concerns include logging, security, and transaction management.

  • Answered by AI

Skills evaluated in this interview

Java Developer Interview Questions Asked at Other Companies

asked in Deloitte
Q1. Sort 0 1You have been given an integer array/list(ARR) of size N ... read more
Q2. Parent class has run() and walk() . Parent run() - calls walk() C ... read more
asked in LTIMindtree
Q3. Longest Harmonious SubsequenceYou are given an array ‘ARR’ of 'N' ... read more
asked in Deloitte
Q4. Convert Bst To The Greater Sum TreeYou have been given a Binary S ... read more
Q5. 2. What will happen if hashcode only returns a constant? How will ... read more
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
-
Result
Selected Selected

I was interviewed before Jan 2022.

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 - Assignment 

MCQ assignment based on the Java skills

Round 3 - Technical 

(1 Question)

  • Q1. It was a 1 hr 15 min of Technical round
Round 4 - Behavioral 

(1 Question)

  • Q1. Scenerio based questions - duration 1 hr

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well with basics and be confident while answering.
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed before May 2023. There were 2 interview rounds.

Round 1 - Coding Test 

General questions on collections

Round 2 - Technical 

(1 Question)

  • Q1. Design of REST API
  • Ans. 

    Designing a REST API involves defining endpoints, methods, request/response formats, authentication, and versioning.

    • Define clear and consistent endpoint URLs for resources (e.g. /users, /products)

    • Use HTTP methods (GET, POST, PUT, DELETE) to perform CRUD operations on resources

    • Choose appropriate response formats like JSON or XML

    • Implement authentication and authorization mechanisms (e.g. OAuth, JWT)

    • Consider versioning to...

  • Answered by AI

Skills evaluated in this interview

Barclays interview questions for designations

 Senior Java Developer

 (1)

 Fullstack Java Developer

 (1)

 Developer

 (2)

 Software Developer

 (16)

 Backend Developer

 (1)

 Application Developer

 (1)

 Analyst Developer

 (1)

 C Developer

 (1)

Interview questions from similar companies

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

I was interviewed in Sep 2024.

Round 1 - Technical 

(2 Questions)

  • Q1. Difference between hashmap and hash table
  • Ans. 

    HashMap is non-synchronized and allows null values, while HashTable is synchronized and does not allow null values.

    • HashMap is non-synchronized, meaning it is not thread-safe, while HashTable is synchronized and thread-safe.

    • HashMap allows null values for both keys and values, while HashTable does not allow null keys or values.

    • HashMap is generally preferred for non-thread-safe applications, while HashTable is used in mul

  • Answered by AI
  • Q2. Significance of equals and hashcode in java
  • Ans. 

    Equals method is used to compare the content of objects while hashcode method is used to generate a unique integer value for an object.

    • Equals method is used to compare the content of objects for equality.

    • Hashcode method is used to generate a unique integer value for an object.

    • Both methods are important for implementing proper object comparison and hashing in Java.

  • Answered by AI
Round 2 - Behavioral 

(2 Questions)

  • Q1. What motivates you to come to office
  • Ans. 

    I am motivated to come to the office by the opportunity to work on challenging projects, collaborate with talented colleagues, and contribute to the success of the team.

    • Challenging projects provide a sense of accomplishment and growth

    • Collaborating with talented colleagues allows for learning and innovation

    • Contributing to the success of the team fosters a sense of purpose and fulfillment

  • Answered by AI
  • Q2. Any scenario where you coached and mentored your collegue in previous organisation?
  • Ans. 

    Yes, I coached a junior developer on implementing design patterns in a project.

    • Provided guidance on how to apply design patterns in code

    • Reviewed their code and provided feedback for improvement

    • Encouraged them to ask questions and seek clarification

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - After applying we were sent a test link which consists of mcq's of Java8, spring boot etc. After that we were called for a walkin drive.There are 2 rounds. One technical and one managerial. Interviewers are friendly and asked basic questions on java and spring.

Skills evaluated in this interview

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

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

Round 1 - Coding Test 

25 MCQs mainly on core java, design patterns, synchronization

Round 2 - Technical 

(2 Questions)

  • Q1. Given an assignment to write program on Fibonacci series, String palindrome Threads in Java, Java Streams
  • Q2. Questions about data structures and collection API
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
More than 8 weeks
Result
Selected Selected

I applied via Company Website and was interviewed in Dec 2023. There was 1 interview round.

Round 1 - Personal Interview 

(2 Questions)

  • Q1. Java related questions
  • Q2. Microservices related questions
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

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

Round 1 - Coding Test 

They ask two questions for coding

Interview Preparation Tips

Interview preparation tips for other job seekers - Good have hands on basics and some coding
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
Not Selected

I applied via Approached by Company

Round 1 - Coding Test 

It was spring boot java based online round

Round 2 - One-on-one 

(2 Questions)

  • Q1. Optional in java.
  • Q2. Eager and lazy initialization in simgleton design pattern
  • Ans. 

    Eager initialization creates the instance of Singleton class at the time of class loading, while lazy initialization creates the instance only when it is required.

    • Eager initialization can lead to resource wastage if the instance is never used.

    • Lazy initialization is more efficient as it only creates the instance when needed.

    • Eager initialization is thread-safe by default, while lazy initialization requires synchronizatio...

  • Answered by AI

Skills evaluated in this interview

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

(2 Questions)

  • Q1. Rest api questions
  • Q2. Core java and springboot

Barclays Interview FAQs

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

Some of the top questions asked at the Barclays Java Developer interview -

  1. Why string is immuta...read more
  2. What is spring ...read more
  3. design of REST ...read more

Tell us how to improve this page.

Barclays Java Developer Interview Process

based on 3 interviews in last 1 year

Interview experience

4
  
Good
Barclays Java Developer Salary
based on 150 salaries
₹6.8 L/yr - ₹24 L/yr
172% more than the average Java Developer Salary in India
View more details

Barclays Java Developer Reviews and Ratings

based on 17 reviews

4.3/5

Rating in categories

4.1

Skill development

4.5

Work-life balance

4.0

Salary

4.5

Job security

4.3

Company culture

3.1

Promotions

4.1

Work satisfaction

Explore 17 Reviews and Ratings
Assistant Vice President
2.3k salaries
unlock blur

₹17 L/yr - ₹45 L/yr

Senior Analyst
1.1k salaries
unlock blur

₹3 L/yr - ₹11.5 L/yr

Assistant Manager
977 salaries
unlock blur

₹6.7 L/yr - ₹25 L/yr

Process Advisor
893 salaries
unlock blur

₹1 L/yr - ₹8.3 L/yr

Analyst
788 salaries
unlock blur

₹11.6 L/yr - ₹20 L/yr

Explore more salaries
Compare Barclays with

Deutsche Bank

3.9
Compare

Accenture

3.9
Compare

Amazon

4.1
Compare

Deloitte

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