why is "".equals(someString); safer than someString.equals("");
Java Software Developer Interview Questions
4,205 java software developer interview questions shared by candidates
Why BlackRock?
Why did you apply for this role
You are so old for this job, you should have been on top why you still apply for this kind of mid entry level?
Store the elements in a stack and have a function that returns the minimum value without iterating again over it. Design an auto-complete mechanism similar to google's autocomplete mechanism. What are default methods in Interfaces in Java 8 , why are they needed? If a class extends two interfaces having the same default method , what will happen then How will you make an Employee class as your HashMap key.
It is everything in and around of our project, and skills on resume.
Basic and Intermediate Java 8 questions.
1. You will be given two end points with two API's a. response: [ { "product_uid": "6447344", "unit_price": 15.63, "unit_price_measure": "kg", "unit_price_measure_amount": 1 }, b. response from another API: [ { "product_uid": "6447344", "product_type": "BASIC", "name": "Sainsbury's Skin on ASC Scottish Salmon Fillets x2 240g", "full_url": "https://www.sainsburys.co.uk/gol-ui/product/sainsburys-responsibly-sourced-scottish-salmon-fillet-x2-240g" }, Task is: now you will have to get the response from these API's and map the response which is present in their requirement section. There is may be some calculations involved in it. 10 test cases pre generated, all must be passed. Important: you will need to write your own test cases ( which i failed due to lack of time because of terrible IDE from hackajob platform ) Overall the task was alright but writing in their IDE without auto formatting tools and behaviour of IDE is not similar to regular IDE's, I would say i would have done better if its in my local IDE. - Disappointed
Find max value of a couple of streams only using stream API without collecting the data to any structure.
Difference between List and ArrayList?
Viewing 261 - 270 interview questions