Upload Button Icon Add office photos

HP India

Compare button icon Compare button icon Compare

Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

HP India Java Developer Interview Questions and Answers

Updated 28 Nov 2024

HP India Java Developer Interview Experiences

2 interviews found

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(2 Questions)

  • Q1. Multivalued map
  • Q2. Basic core java
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
-
Result
Not Selected

I was interviewed in Oct 2023.

Round 1 - Technical 

(1 Question)

  • Q1. How do u handle concurrent request
  • Ans. 

    I handle concurrent requests by using synchronization, locks, and thread pools.

    • Use synchronization to ensure only one thread can access critical sections of code at a time

    • Use locks to prevent multiple threads from accessing shared resources simultaneously

    • Use thread pools to limit the number of concurrent threads and manage resources efficiently

  • Answered by AI

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 questions from similar companies

I applied via Naukri.com and was interviewed in Jan 2021. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Oops concepts, Exception Handling & other Core Java concepts

Interview Preparation Tips

Interview preparation tips for other job seekers - Search & Contact recruiters who hire for ur domain on LinkedIn & share ur resume with them, search relevant jobs on LinkedIn & apply.

Go to companies' websites & create ur profile.

Update ur profile daily on naukri. 👍🏻

Interview Questionnaire 

1 Question

  • Q1. In C# --> Abstraction, Interface , Abstract Method, Abstract Class, Polymorphisms, Encapsulation ,Inheritance, Serialization,
  • Ans. 

    C# concepts including abstraction, interface, abstract method, abstract class, polymorphism, encapsulation, inheritance, and serialization.

    • Abstraction: hiding implementation details

    • Interface: defining a contract for behavior

    • Abstract method: method without implementation

    • Abstract class: class with one or more abstract methods

    • Polymorphism: ability of objects to take on multiple forms

    • Encapsulation: bundling data and behavi...

  • Answered by AI

Skills evaluated in this interview

Interview Questionnaire 

2 Questions

  • Q1. Multiple
  • Q2. Multiple.

Interview Preparation Tips

Round: Test
Experience: Graph problem.
First step was to formulate the question into graph problem.

Then solve using standard graph algo (Dijkstra, bellmen ford, e.tc).
Tips: Practice writing whole code without using standard library.
Duration: 3 hours
Total Questions: 1

Round: Technical Interview
Experience: Question related to dfs.
Asked about networking, OS and integers.

One puzzle.(available on geeksforgeeks)
Tips: Prepare for puzzle. Generally they go for standard puzzle.

Round: Technical Interview
Experience: It was mostly related to technical project and internship.

General discussion on machine learning.
Tips: Prepare for the projects mentioned on the resume

Round: HR Interview
Experience: He was testing me regarding how I will explain a technical project to a non-technical guy.. And also general HR questions like why u want to join Samsung and other similar questions.
Tips: Nothing new.

Skills: Basic programming stuff. , Algorithm, Graph Theory, Machine Learning, Problem Solving Skills
College Name: IIT Kharagpur

Software Developer Interview Questions & Answers

Samsung user image Gaurav Srikant Mokhasi

posted on 3 Dec 2015

Interview Preparation Tips

Round: PRE PLACEMENT OFFER
Experience: Interns (both CS and IT) were selected in my third year. Pre-placement offers were rolled out to 16 of us which was roughly a conversion ratio of 1:3. A couple of ECE hires were added when SRI-B visited campus later.

General Tips: If you're in CS or IT, this is the only format your resume should be in: -----
Take your internship seriously. Have fun and all but also get your project done. It's not the end of the world if you don't get a PPO. Campus placements are tension-filled, no doubt, but a lot of people get equally good if not better jobs after missing out on PPOs.
Make sure you talk to your manager about the PPO process. She will be the one giving you your final review. So ensure that she knows you want the job. Prepare a fancy presentation for the HR. By fancy, I mean slick and professional. Think Apple, not flashy Microsofty graphics and stupid word art.
Skill Tips: Google GSAT (Global Samsung Aptitude Test) a week before the test and make sure you practice some similar CAT type questions. Questions are of medium difficulty and time management is a real issue (most of us were unable to finish properly). - I didn't have to use these but I've heard good things about codechef/topCoder and books such as Cracking the Coding Interview by Gayle Laakmann McDowell.
Skills:
College Name: NIT Surathkal

I was interviewed before Feb 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 70 Minutes
Round difficulty - Medium

This round had 40 MCQ's followed by 2 questions of DS and Algo. The programming questions were preety standard and can be solved within 30 minutes.

  • Q1. 

    Maximum Subarray Sum Problem Statement

    Given an array arr of length N consisting of integers, find the sum of the subarray (including empty subarray) with the maximum sum among all subarrays.

    Explanation...

  • Ans. 

    Find the sum of the subarray with the maximum sum among all subarrays in a given array.

    • Iterate through the array and keep track of the maximum sum subarray seen so far.

    • Use Kadane's algorithm to efficiently find the maximum subarray sum.

    • Handle cases where all elements are negative or array is empty.

    • Example: For input arr = [-2, 1, -3, 4, -1], the maximum subarray sum is 4.

  • Answered by AI
  • Q2. 

    Remove Character from String Problem Statement

    Given a string str and a character 'X', develop a function to eliminate all instances of 'X' from str and return the resulting string.

    Input:

    The first lin...
  • Ans. 

    Develop a function to remove all instances of a given character from a string.

    • Iterate through the string character by character and only add characters that are not equal to the given character to a new string.

    • Alternatively, use built-in string manipulation functions to remove all instances of the given character from the string.

    • Ensure the function handles edge cases such as empty strings or strings with no instances o...

  • Answered by AI
Round 2 - Face to Face 

(7 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

This round had questions from DSA, OS, DBMS and Computer Networks. The programming question was quiet easy and I coded it preety fast after discussing the appropriate approach and complexity analysis.

  • Q1. 

    Intersection of Linked List Problem

    You are provided with two singly linked lists containing integers, where both lists converge at some node belonging to a third linked list.

    Your task is to determine t...

  • Ans. 

    Find the node where two linked lists merge, return -1 if no merging occurs.

    • Traverse both lists to find their lengths and the difference in lengths

    • Move the pointer of the longer list by the difference in lengths

    • Traverse both lists simultaneously until they meet at the merging point

  • Answered by AI
  • Q2. Can you explain the concepts of multitasking and multiprogramming?
  • Ans. 

    Multitasking involves executing multiple tasks simultaneously, while multiprogramming involves running multiple programs on a single processor.

    • Multitasking allows multiple tasks to run concurrently on a single processor, switching between them quickly.

    • Multiprogramming involves loading multiple programs into memory and executing them concurrently, utilizing idle CPU time efficiently.

    • Examples of multitasking include runn...

  • Answered by AI
  • Q3. What is the difference between a process and a program?
  • Ans. 

    A process is an executing instance of a program, while a program is a set of instructions stored in the computer's memory.

    • A program is a static set of instructions stored on disk, while a process is a dynamic instance of those instructions being executed in memory.

    • Multiple processes can be running the same program simultaneously, each with its own memory space and resources.

    • Processes have their own unique process ID (P...

  • Answered by AI
  • Q4. What is the difference between a process and a thread?
  • Ans. 

    A process is an instance of a program, while a thread is a unit of execution within a process.

    • A process has its own memory space, while threads share the same memory space.

    • Processes are independent and isolated, while threads can communicate and share resources.

    • Creating a new process is more resource-intensive than creating a new thread.

    • Processes have their own program counter, while threads share the same program coun...

  • Answered by AI
  • Q5. What is the main difference between UNION and UNION ALL?
  • Ans. 

    UNION combines and removes duplicate rows, UNION ALL combines without removing duplicates.

    • UNION combines the result sets of two or more SELECT statements into a single result set

    • UNION removes duplicate rows from the result set

    • UNION ALL combines the result sets without removing duplicates

    • UNION is slower than UNION ALL as it requires additional processing to remove duplicates

    • Use UNION when you want to combine and remove ...

  • Answered by AI
  • Q6. What are the advantages of using views in a database management system?
  • Ans. 

    Views provide a virtual representation of data, offering advantages such as simplifying complex queries, enhancing security, and improving performance.

    • Views simplify complex queries by predefining commonly used joins, filters, and aggregations.

    • Views enhance security by allowing users to access only specific columns or rows of a table.

    • Views improve performance by storing the results of complex queries, reducing the need...

  • Answered by AI
  • Q7. What is the ARP protocol?
  • Ans. 

    ARP stands for Address Resolution Protocol, used to map IP addresses to MAC addresses in a local network.

    • ARP is used to find the MAC address of a device based on its IP address

    • It operates at the data link layer of the OSI model

    • ARP requests are broadcasted to all devices on the local network

    • Example: When a device wants to communicate with another device on the same network, it uses ARP to find the MAC address of the des

  • Answered by AI
Round 3 - HR 

(2 Questions)

Round duration - 30 Minutes
Round difficulty - Easy

This is a cultural fitment testing round. HR was very frank and asked standard questions. Then we discussed about my role.

  • Q1. Why should we hire you?
  • Ans. 

    I should be hired because of my strong technical skills, problem-solving abilities, and passion for software development.

    • I have a solid understanding of data structures and algorithms.

    • I have experience in developing and debugging complex software systems.

    • I am a quick learner and can adapt to new technologies and programming languages.

    • I have a track record of delivering high-quality code on time.

    • I am a team player and c...

  • Answered by AI
  • Q2. What is something about you that is not included in your resume?

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAHewlett Packard Enterprise interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Aptitude, OOPSTime required to prepare for the interview - 4 MonthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewSelected

Skills evaluated in this interview

Interview Questionnaire 

1 Question

  • Q1. Basic java, core java

Interview Preparation Tips

Round: Test
Experience: Oracle had an online test which includes 3
Sections:
1. Programming: basic C++/java programming + data structure. One need to have good hand over oops
to score well in this section.

2. Aptitude: General Aptitude Questions

3. General Maths: Very simple maths problem (+2 level) but needs very very good speed.
Tips: Individual cutoff was not declared, but different cutoff for different profile is expected.
Oracle has no GD round.

Round: Interview
Experience: In 2nd round of interview, there was more programming, less resume based question and more emphasis on will I be comfortable in an IT sector. Some apti questions were also asked.

Round: Interview
Experience: 1st round was completely on resume based. Each and every project and intern is discussed in detail. Most of the extracurricular activities were also discussed. In the 1st interview, some basic program like fibonacci series by recursion, star pattern by loop etc were asked.

Round: Interview
Experience: Next round was HR. I was asked about the earlier 2 interviews and some basic HR questions.

College Name: IIT Roorkee

Interview Preparation Tips

Round: Test
Experience: The sections were Quantitative, Logical, Verbal and Computer Science.The three sections contained very basic questions of general aptitude while the Computer Science section contained questions on Database Management, OS, SQL and Programming Aptitude.

Round: Test
Experience: The question was to program a logic to test the correctness of a solved sudoku. We were allowed to code in C++, Java, C or pseudo code.

Round: Technical Interview
Experience: Were asked simple questions and program them like reversing string without temporary variables, finding the earlier date when entered as string and finding the difference in number of days between them.
I was asked to explain him my internship project in great detail and above all one should be prepared to answer the question 'Why IT?' if from a non IT background. Then I was asked to program a logic for 'Search and replace" tool of MS Word.

Round: HR Interview
Experience: Was asked about my background in detail and stressed again and again on 'Why IT?'. Then he asked me to prepare a summary on the merits and demerits of various Employee Data Management techniques for an organisation. For the end of the interview you should have a question which you would ask to the interviewer.

General Tips: Don't try to over emphasize the correctness of your logic if the interviewer finds a glitch. It irritates him. Be interactive in your HR round. In our case it was the VP of Oracle India who took the final round. So I asked him about his experience in the company. He was very happy to share it with me. But asses your interviewer before you put forth these queries cause your interviewer might not be as jolly as mine was.
Skills:
College Name: NIT Surathkal

HP India Interview FAQs

How many rounds are there in HP India Java Developer interview?
HP India interview process usually has 1 rounds. The most common rounds in the HP India interview process are Technical and One-on-one Round.
What are the top questions asked in HP India Java Developer interview?

Some of the top questions asked at the HP India Java Developer interview -

  1. how do u handle concurrent requ...read more
  2. Multivalued ...read more
  3. Basic core j...read more

Tell us how to improve this page.

HP India Java Developer Interview Process

based on 2 interviews

Interview experience

4
  
Good
View more
HP India Java Developer Salary
based on 5 salaries
₹2.8 L/yr - ₹11 L/yr
33% more than the average Java Developer Salary in India
View more details

HP India Java Developer Reviews and Ratings

based on 1 review

5.0/5

Rating in categories

4.0

Skill development

4.0

Work-life balance

4.0

Salary

4.0

Job security

4.0

Company culture

4.0

Promotions

4.0

Work satisfaction

Explore 1 Review and Rating
Technical Support Engineer
220 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Software Engineer
127 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Area Sales Manager
78 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Financial Analyst
74 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Process Associate
63 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare HP India with

Dell

4.0
Compare

Lenovo

4.2
Compare

Apple

4.3
Compare

Samsung

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