Upload Button Icon Add office photos
Engaged Employer

i

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

UBS Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Clear (1)

UBS Java Developer Interview Questions, Process, and Tips

Updated 25 Oct 2024

Top UBS Java Developer Interview Questions and Answers

View all 6 questions

UBS Java Developer Interview Experiences

4 interviews found

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

I applied via Indeed and was interviewed in Jul 2024. There was 1 interview round.

Round 1 - Technical 

(6 Questions)

  • Q1. Stringbuilder and string buffer diff
  • Q2. Where we store the object of string
  • Ans. 

    Objects of String are stored in the String Pool in Java.

    • String objects are stored in the String Pool, a special memory area in Java heap memory.

    • String literals are automatically stored in the String Pool.

    • String objects created using the new keyword are not stored in the String Pool.

    • String.intern() method can be used to store a String object in the String Pool.

  • Answered by AI
  • Q3. What is bean in springboot
  • Ans. 

    A bean in Spring Boot is a Java object that is instantiated, assembled, and managed by the Spring IoC container.

    • Beans are defined in the Spring configuration file or using annotations like @Component, @Service, @Repository, etc.

    • Beans are singleton by default but can be scoped as prototype, request, session, etc.

    • Beans are injected into other beans using dependency injection.

    • Example: @Component annotation is used to defi

  • Answered by AI
  • Q4. What is query parameters and path param
  • Ans. 

    Query parameters are used to pass data to a web server through the URL, while path parameters are part of the URL itself.

    • Query parameters are key-value pairs added to the end of a URL after a '?'

    • Path parameters are variables within the URL path itself, denoted by curly braces {}

    • Example of query parameter: www.example.com/api/users?id=123

    • Example of path parameter: www.example.com/api/users/{userId}

  • Answered by AI
  • Q5. Code snippet related to exception
  • Q6. Diff between exception and error
  • Ans. 

    Exceptions are recoverable errors that can be handled in code, while errors are unrecoverable issues that usually result in program termination.

    • Exceptions are checked at compile time, while errors are unchecked.

    • Exceptions are subclasses of Throwable, while errors are subclasses of Error.

    • Examples of exceptions include FileNotFoundException, NullPointerException, while examples of errors include OutOfMemoryError, StackOv

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Simple java coding questions on file io, atomic integers etc

Java Developer Interview Questions Asked at Other Companies

asked in Deloitte
Q1. Sort 0 and 1 Problem Statement Given an integer array ARR of size ... read more
Q2. Parent class has run() and walk() . Parent run() - calls walk() C ... read more
asked in Infosys
Q3. Which should be preferred between String and StringBuffer when th ... read more
asked in Deloitte
Q4. Convert BST to Greater Sum Tree Given a Binary Search Tree (BST) ... read more
Q5. 2. What will happen if hashcode only returns a constant? How will ... read more
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Difference between HashMap and ConcurentHashMap
  • Ans. 

    HashMap is not thread-safe while ConcurrentHashMap is thread-safe.

    • HashMap is not thread-safe and can cause ConcurrentModificationException if modified while iterating.

    • ConcurrentHashMap allows concurrent modifications without causing any exception.

    • ConcurrentHashMap achieves thread-safety by dividing the map into segments and locking only a portion of the map during updates.

    • ConcurrentHashMap is suitable for high-concurre...

  • Answered by AI
  • Q2. Java 8 new features
  • Ans. 

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

    • Lambda expressions allow you to write code in a more concise and readable way.

    • Streams provide a way to work with sequences of elements and perform operations on them.

    • Functional interfaces are interfaces with a single abstract method, which can be implemented using lambda expressions.

    • Default methods a...

  • Answered by AI

Skills evaluated in this interview

Java Developer Interview Questions & Answers

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

UBS interview questions for designations

 Fullstack Java Developer

 (1)

 Java Full Stack Developer

 (1)

 Software Developer

 (3)

 Application Developer

 (2)

 C Developer

 (1)

 Front end Developer

 (1)

 Full Stack Developer

 (1)

 Big Data Developer

 (1)

Java Developer Jobs at UBS

View all

Interview questions from similar companies

Associate Interview Questions & Answers

JPMorgan Chase & Co. user image SHUBHAM VINAYAK KALE shubham

posted on 4 Dec 2016

I applied via Campus Placement and was interviewed in Dec 2016. There were 5 interview rounds.

Interview Questionnaire 

8 Questions

  • Q1. Project/DDP based questions
  • Q2. Any coding done in curriculum, explain the most complex one
  • Ans. 

    Yes, I have coded in curriculum. The most complex one was a project on building a web application using React and Node.js.

    • Built a full-stack web application using React and Node.js

    • Implemented user authentication and authorization using JSON Web Tokens (JWT)

    • Used MongoDB as the database and Mongoose as the ODM

    • Implemented real-time updates using Socket.IO

    • Deployed the application on Heroku

    • Handled errors and implemented log

  • Answered by AI
  • Q3. What is 'Big data'? Why is it called 'Big'
  • Ans. 

    Big data refers to large and complex data sets that cannot be processed using traditional data processing methods.

    • Big data is characterized by its volume, velocity, and variety

    • It is used in various industries such as healthcare, finance, and retail

    • Examples of big data include social media data, sensor data, and transactional data

    • It is called 'big' because it involves processing massive amounts of data

    • Big data requires ...

  • Answered by AI
  • Q4. Why do you want to switch to IT sector from your respective branch
  • Ans. 

    I am passionate about technology and eager to learn new skills in the IT sector.

    • I have always had a keen interest in technology and enjoy working with computers.

    • I believe the IT sector offers more opportunities for growth and advancement in my career.

    • I have seen the impact of technology on various industries and want to be a part of that innovation.

    • I have taken courses in programming and networking to prepare myself fo

  • Answered by AI
  • Q5. I did a course on compute simulation and had extra curricular in chess, so was asked to simulate a chess game
  • Q6. Two friends A & B meet after long time, A asks B about his family. B says he has 3 children, product of their ages is 36, and sum of their ages is equal to the (point towards a house on street) house numbe...
  • Q7. A rat has 3000 gm of rice, he has to travel a distance of 3000m, he eats 1gm rice/m, his maximum carrying capcity is 1000 gm,how should he travel the distance to reach with maximum rice left
  • Q8. A new software has 3 functions SelectSum(), log() and exp(). You have a table of 1000 data points, how will you find product of all points using only the above mentioned functions
  • Ans. 

    To find the product of all data points using SelectSum(), log(), and exp() functions.

    • Use the log() function to convert the product into a sum of logarithms

    • Apply the SelectSum() function to calculate the sum of logarithms

    • Finally, use the exp() function to convert the sum back into the product

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: Aptitude part has easy questions, including number series, picture series, interest rate and some quant based questions.

The coding part is difficult.2-3 coding questions, Codes will be related to linked lists , trees or sorting.
Tips: Try to get maximum marks in aptitude, which should be fine with some practice . One of the code will be easy, so complete it and make a try for second
Duration: 1 hour
Total Questions: 30

Round: Puzzle Interview
Experience: very easy puzzles, I was able to solve all puzzles in first attempt
Tips: Be confident in your approach they are locking for approach more than result

Round: Technical Interview
Experience: I answered all resume based questions, he liked my choice of projects, though they were not exactly related to the profile. He liked me and said I would recommend you directly to HR round
Tips: Prepare in details about all points in resume, course work mentioned and projects, Based on performance in this interview, they decide to whether to take one more technical interview or send directly to HR

Skills: Behavioural Skills, Puzzle Solving Capability, Approaching A Problem, Basic Coding
College Name: IIT Madras

Skills evaluated in this interview

I applied via Campus Placement and was interviewed in Dec 2016. There were 5 interview rounds.

Interview Questionnaire 

13 Questions

  • Q1. Tell me about yourself?
  • Ans. 

    I am a highly motivated individual with a passion for learning and achieving my goals.

    • I have a degree in computer science and have worked as a software developer for 3 years.

    • I am proficient in multiple programming languages including Java, Python, and C++.

    • I enjoy working in a team environment and collaborating with others to solve complex problems.

    • In my free time, I enjoy hiking and exploring new places.

  • Answered by AI
  • Q2. Tell me about your family or life before college?
  • Ans. 

    I grew up in a small town with my parents and younger sister. We were a close-knit family.

    • Grew up in a small town

    • Close-knit family

    • Parents and younger sister

    • Participated in community events

    • Enjoyed outdoor activities

  • Answered by AI
  • Q3. What do you do in free time?
  • Ans. 

    I enjoy reading, hiking, and trying new recipes in my free time.

    • Reading books on various topics, including fiction, non-fiction, and self-improvement

    • Hiking in local parks and nature reserves to explore new trails and enjoy the outdoors

    • Experimenting with new recipes and cooking techniques in the kitchen

    • Attending cultural events such as concerts, plays, and art exhibits

    • Spending time with family and friends, playing board

  • Answered by AI
  • Q4. What would you expect from this company?
  • Ans. 

    I would expect a supportive work environment, opportunities for growth and development, and a commitment to excellence.

    • Supportive and collaborative team culture

    • Clear communication and feedback

    • Opportunities for professional development and advancement

    • Commitment to high-quality work and customer satisfaction

    • Competitive compensation and benefits package

  • Answered by AI
  • Q5. Questions related to family and past life?
  • Q6. Do you have any family member or friend in Bangalore?
  • Ans. 

    Yes, I have a cousin who lives in Bangalore.

    • I have a cousin who has been living in Bangalore for the past 5 years.

    • We keep in touch and he has shown me around the city during my visits.

    • He works in the IT industry and enjoys the vibrant culture of Bangalore.

  • Answered by AI
  • Q7. How will you find loop in the circular linked list?
  • Ans. 

    Loop in a circular linked list can be found using Floyd's cycle-finding algorithm.

    • Initialize two pointers, slow and fast, both pointing to the head of the linked list.

    • Move slow pointer by one node and fast pointer by two nodes in each iteration.

    • If there is a loop, both pointers will eventually meet at some point.

    • If there is no loop, fast pointer will reach the end of the linked list.

    • Time complexity of this algorithm is

  • Answered by AI
  • Q8. How will you perform pre-fix and post-fix operation for the given string expression?
  • Ans. 

    Pre-fix and post-fix operations can be performed on a string expression using appropriate operators.

    • Pre-fix operation involves placing the operator before the operand in the expression.

    • Post-fix operation involves placing the operator after the operand in the expression.

    • Examples of pre-fix operators include ++, --, !, and ~.

    • Examples of post-fix operators include ++ and --.

  • Answered by AI
  • Q9. What is data analytics(cause I had mentioned it on the resume)? Just explain the basic and tell them how it can help us make decision/inference
  • Ans. 

    Data analytics is the process of examining data sets to draw conclusions about the information they contain.

    • Data analytics involves collecting, cleaning, and analyzing data to identify patterns and trends.

    • It can help businesses make informed decisions by providing insights into customer behavior, market trends, and operational efficiency.

    • For example, a retail company can use data analytics to analyze sales data and ide...

  • Answered by AI
  • Q10. In my final year project I have used random forest. So he asked me to explain random forest. And other projects related questions
  • Q11. What is your strength and weakness? why J P Morgan Chase? What do you expect from this company? I am from Mechanical Engineering, so she asked me why non-core?
  • Ans. 

    Strengths include adaptability and teamwork. Weaknesses include public speaking. Non-core background allows for diverse perspective. JPMorgan Chase's reputation and opportunities attract me.

    • Strengths: adaptability, teamwork

    • Weakness: public speaking

    • Non-core background brings diverse perspective

    • Attracted to JPMorgan Chase's reputation and opportunities

  • Answered by AI
  • Q12. Few behavioral questions: What will you do if you have enough money and good idea to start your own company?
  • Ans. 

    I would pursue my entrepreneurial dream and start my own company.

    • I would conduct market research to validate my idea and identify potential competitors.

    • I would create a business plan outlining my goals, strategies, and financial projections.

    • I would secure funding through investors or loans.

    • I would assemble a team of talented individuals with diverse skills and experiences.

    • I would continuously evaluate and adapt my busi

  • Answered by AI
  • Q13. How would you resolve team conflict between your idea and other idea, supported by majority?
  • Ans. 

    I would listen to both sides, gather more information, and try to find a compromise that satisfies everyone.

    • Listen to both sides and understand their perspectives

    • Gather more information about both ideas

    • Try to find common ground and a compromise that satisfies everyone

    • Encourage open communication and respect for each other's ideas

    • Consider the potential impact and benefits of each idea

    • Involve a neutral third party if nec

  • Answered by AI

Interview Preparation Tips

Round: Resume Shortlist
Experience: The company came to our campus on day 3 and agreed to take walk-ins.
Therefore resume shortlisting was the procedure.
They had a cut off of 7 CGPA.
Tips: It would be good if you have some coding background with few projects. It could anything from class projects to your internships, extra-curricular or final year projects. Don't forget to mention what all programming language you know on your resume.

Round: Technical + HR Interview
Experience: The first round consists of two panels. One of them was asking HR. And the other was asking technical questions. They were just looking whether you have the basic technical knowledge and if given an offer you will join or not.
Tips: For technical knowledge, you can refer OOPs basic concepts, standard coding interview problems, geeksforgeeks, cracking the coding interview by Laxman Gayle etc. It would be better if you can first practice hr questions among your friends instead of going directly to interview. I found a youtube channel explains technical relatively easier and simpler way. you can follow that. Just try to show that you are interested in that company.
For HR questions, one can prepare from 64 HR questions.
For the basic OOPs concepts, one can read first 10 chapters from E.Balaguruswamy but any other OOPs book will also be fine.
Confidence is the key ace any interview!!

Round: HR Interview
Experience: This round was mainly to check your personality. He was trying to know whether you will fit in the company or not. Most of the question was from my personal life. They will see whether you are serious about your life or not.
Tips: Be ready to give them instances of your life where you did things differently. Try to show that you are passionate about the company. Try to show you have a clear vision in your life and working hard to achieve that.

Round: HR Interview
Experience: This round was just a formality. The HR from the second round interview introduced me to the third interviewer. He asked few question related to the family.
Tips: One important thing I would like to is that NEVER ASSUME THAT WHATEVER YOU TOLD TO YOUR PREVIOUS INTERVIEWER WILL BE KNOWN TO THE NEXT INTERVIEW. So, if you think some specific points will help you do good in an interview...just let him know. I could be anything your project, conference, paper presentation or your past life as well.

Skills: Programming, Object Oriented Programming (OOP) Basics, Team Working Ability, Passion, Data Strrutures, Algorithm
College Name: IIT Madras

Skills evaluated in this interview

I applied via Campus Placement and was interviewed in Dec 2016. There were 3 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. Tested DSA and Aptitude
  • Q2. Checked design aspect questions
  • Q3. What do you know about company
  • Ans. 

    Company is a global technology company known for its innovative products and services.

    • Founded in 1976 by Steve Jobs, Steve Wozniak, and Ronald Wayne.

    • Known for products such as iPhone, iPad, Mac computers, and Apple Watch.

    • Offers services like Apple Music, iCloud, and Apple Pay.

    • Has a strong focus on design and user experience.

  • Answered by AI

Interview Preparation Tips

College Name: IIT Madras

I applied via Campus Placement

Interview Questionnaire 

4 Questions

  • Q1. Explain the background process that takes place during an atm transaction
  • Ans. 

    ATM transaction involves multiple background processes including authentication, authorization, and communication with bank servers.

    • Customer inserts card and enters PIN

    • ATM authenticates the card and PIN

    • ATM requests authorization from bank server

    • Bank server verifies account balance and approves or denies transaction

    • ATM dispenses cash or completes other requested transaction

    • ATM updates account balance and sends transacti

  • Answered by AI
  • Q2. Cut cake into 8 pieces .You can use knife 3 times only
  • Ans. 

    Cut cake into 8 pieces using knife 3 times only.

    • First, cut the cake horizontally into two equal halves.

    • Then, cut the cake vertically into four equal pieces.

    • Finally, cut the cake horizontally again into eight equal pieces.

    • Make sure to use the knife efficiently to minimize the number of cuts.

    • Practice visualization before making the cuts to avoid mistakes.

  • Answered by AI
  • Q3. A shot fired from a gun pointing towards a tree full of birds. All birds left except one. Why ?
  • Ans. 

    The one bird was already dead.

    • The bird was already dead before the shot was fired.

    • The bird was injured and unable to fly away with the rest of the birds.

    • The bird was a decoy bird used for hunting purposes.

    • The bird was a trained bird used for falconry.

  • Answered by AI
  • Q4. Explain projects which you made in college?
  • Ans. 

    Developed a web-based attendance management system and a mobile app for event management.

    • Created a database schema and implemented CRUD operations using PHP and MySQL.

    • Designed the user interface using HTML, CSS, and JavaScript.

    • Integrated Google Maps API for location tracking in the mobile app.

    • Implemented push notifications using Firebase Cloud Messaging.

    • Collaborated with a team of four to complete the projects within t

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: The question paper was a mix of aptitude, programming of c++ java , sql and reasoning.
There was negative marking set for each questions.
Tips: Attempt that portion first in which you are really confident.
Dont try to attempt all questions , as negative marking plays big role.
Duration: 60 minutes

Round: Technical Interview
Experience: As Barclays is a bank , so this kind of question is obvious.
Be prepared for technical process that takes place in a usual banking domain.
Also , any type of question whether reasoning based or technical can be asked.
Tips: Be confident. Try to tell everything in a straight manner.

Round: Case Study Interview
Experience: You can put humour while answering as this shows your positivity.
There can be many reason for this like birds ia dead , bird is deaf , bird is of plastic. You can choose whatever hit into your mind.

Round: Behavioural Interview
Experience: Explaining the thing in which you already have knowledge is a plus point.
But make sure you have complete knowledge of your college project as they can ask as many questions as possible because your project is the main thing which can extend your interview time.

Skills: Common Sense, Presence Of Mind, Positive Thinking, Ability To Deliver On A Project, C Programming
College Name: UPTU
Motivation: As it is a product based company , so chances of growth is good and pay scale is better.

I applied via Campus Placement

Interview Preparation Tips

Round: Test
Experience: Was nice experience,should have good aptitude.
Tips: Learn aptitude more and morr
Duration: 60 minutes

Round: Group Discussion
Experience: Just speak about the topic
Tips: Do not get silent

Round: Technical Interview
Experience: iOS,C/C++
Tips: Just be confident about your answwers ansd show that you are capable to do each and everything in this world and you have quick learning capacity to grasp anything.

General Tips: C/C++,
Skills:
College Name: CDAC PUNE
Motivation: Bank more than 325 years old.

I was interviewed in Dec 2016.

Interview Questionnaire 

5 Questions

  • Q1. Write the algorithm for reversing the string
  • Ans. 

    The algorithm reverses a given string.

    • Iterate through the string from the last character to the first character.

    • Append each character to a new string or an array in reverse order.

    • Return the reversed string or array.

  • Answered by AI
  • Q2. Write an algorithm to select the number between min and maximum from a number series and that number shouldn't be a multiple of 10
  • Q3. This was puzzle: you have 2 eggs and 100 floors. Eggs will start break beyond a particular floor. You can throw eggs from any of the floor. How will you minimise the total number of throws.
  • Q4. Assume yourself as CEO of a company. You have vacancies and you are conducting interviews. 4 candidates (1. An IITian, 2. A woman, 3. Gay, 4.Physically handicapped) are equally capable and qualified have a...
  • Ans. 

    As the CEO, I would select the candidate based on their qualifications and skills, regardless of their background or personal characteristics.

    • I would focus on the qualifications, skills, and experience of each candidate.

    • I would consider their ability to contribute to the company's goals and objectives.

    • I would ensure a fair and unbiased selection process.

    • I would prioritize diversity and inclusion in the workplace.

    • I woul...

  • Answered by AI
  • Q5. My interview was just after demonetization. So question was, assume you are CEO of Paytm. What will be your key values and what will be your strategy to add more customers.

Interview Preparation Tips

Round: Test
Experience: Aptitude part was pretty straightforward. Make sure you don't loose too much time on one question. Most of the questions were very easy. Number series, men working hours, probability and simple math calculations are enough to crack the test.
Coding part will definitely have one easy question (mostly will be on sorting algos). Basic coding knowledge is enough for this part.
Tips: Aptitude : Speed is the key. Since questions are easy, one who gets more than others will be shortlistled for the Interviews.
Coding: Make sure you solve atleast 1 problem correctly. And then try to attempt others.
Duration: 1 hour
Total Questions: 28

Round: Behavioural Interview
Experience: They also asked basic interview hr questions. Be prepared with your stories. If One of your story can make you look out of the stand, it will definitely work for this round. Strengths, weakness and where do you see yourself after 5 years.
Tips: Be confident. And be ready to defend your answers.

Skills: Math Puzzles, Algorithms And Data Structures, HR Skills, Inter Person Communication Skills
College Name: IIT Madras

Skills evaluated in this interview

Contribute & help others!
anonymous
You can choose to be anonymous

UBS Interview FAQs

How many rounds are there in UBS Java Developer interview?
UBS interview process usually has 1 rounds. The most common rounds in the UBS interview process are Technical and Coding Test.
How to prepare for UBS Java Developer 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 UBS. The most common topics and skills that interviewers at UBS expect are Java, Javascript, Maven, Spring Boot and SQL.
What are the top questions asked in UBS Java Developer interview?

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

  1. Where we store the object of str...read more
  2. What is query parameters and path pa...read more
  3. What is bean in springb...read more

Recently Viewed

DESIGNATION

REVIEWS

State Street Syntel

No Reviews

REVIEWS

SBI Securities

No Reviews

REVIEWS

State Street Syntel

No Reviews

REVIEWS

SBI Securities

No Reviews

REVIEWS

SBI Securities

No Reviews

REVIEWS

State Street Syntel

No Reviews

REVIEWS

State Street Syntel

No Reviews

REVIEWS

State Street Syntel

No Reviews

REVIEWS

SBI Securities

No Reviews

Tell us how to improve this page.

UBS Java Developer Interview Process

based on 4 interviews

1 Interview rounds

  • Technical Round
View more
UBS Java Developer Salary
based on 42 salaries
₹11 L/yr - ₹30 L/yr
244% more than the average Java Developer Salary in India
View more details

UBS Java Developer Reviews and Ratings

based on 3 reviews

3.8/5

Rating in categories

4.3

Skill development

3.8

Work-life balance

4.1

Salary

2.9

Job security

3.4

Company culture

3.2

Promotions

3.8

Work satisfaction

Explore 3 Reviews and Ratings
Java Developer

Pune

4-7 Yrs

₹ 16.8-24.5 LPA

Explore more jobs
Associate Director
3.3k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Assistant Vice President
2.3k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Authorized Officer
1.7k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Exempt NON Officer
1.5k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

ENO
1.4k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare UBS with

Morgan Stanley

3.7
Compare

Goldman Sachs

3.5
Compare

JPMorgan Chase & Co.

4.0
Compare

Deutsche Bank

3.9
Compare
Did you find this page helpful?
Yes No
write
Share an Interview
Rate your experience using AmbitionBox
Terrible
Terrible
Poor
Poor
Average
Average
Good
Good
Excellent
Excellent