Senior Java Developer Interview Questions in Washington, DC | Glassdoor

Senior Java Developer Interview Questions in Washington, DC

"Senior developers have years of experience in Java and have the knowledge and communication skills to mentor other developers. Companies prioritize strong technical skills and questions will focus on problem solving and critical thinking. A bachelor's degree in computer science or a related field, along with years of industry experience are standard."

Top Interview Questions

Sort: RelevancePopular Date

Senior Java Developer at Wallet Hub was asked...

Nov 2, 2017
 Given an array of numbers, create another array of numbers. Calculate each new array number by multiplying all input array numbers, except for the current number position in the new array.3 AnswersA O(2*N) = O(N) solution would include: 1. Get the product of all the numbers in the input array; 2. Set the ith number as the product, in step1, divided by the ith number in the input; Of course, the obvious solution would have complexity of O(n^2): get the new array ith number by getting the product of all the input numbers except for the ith position number.Solution with O(N) public long[] multipliedArray(int[] arr){ long result[] = new long[arr.length]; long allMultiplication=1; for(int i=0;ipublic static void main(String[] args) { int[] returnVal = multiplyArrayItems(new int[]{1,2,3,4,5}); System.out.println(String.join(",", Arrays.stream(returnVal).mapToObj(String::valueOf).toArray(String[]::new))); } static int[] multiplyArrayItemsSE(int[] arr){ int[] returnArr = new int[arr.length]; ScriptEngineManager manager = new ScriptEngineManager(); ScriptEngine engine = manager.getEngineByName("js"); try { String[] sarr = Arrays.stream(arr).mapToObj(String::valueOf).toArray(String[]::new); int totalVal = (int) engine.eval[String.join("*", sarr)); for(int i = 0; i < arr.length; i++){ returnArr[i] = totalVal / arr[i]; } } catch (ScriptException e) { // TODO Auto-generated catch block e.printStackTrace(); } return returnArr; }

Senior Java Developer at Rigil was asked...

Apr 4, 2017
 Java & Hibernate technical questions. Java- about String object instatntiation/representation in JVM. Hibernate- different caches..1 AnswerI answered correctly with details..

Senior Java Developer at Isoftech was asked...

Jun 10, 2016
 Why applying for this company and skills that makes me the right candidate for the positonBe the first to answer this question

Senior Java Developer at BAE Systems USA was asked...

Aug 3, 2016
 Basic Java/J2EE questions. Questions from past project experience.Be the first to answer this question

Senior Java Developer at Ascella Technologies was asked...

Nov 21, 2018
 What is strict in java script?Be the first to answer this question

Senior Java Developer at Ascella Technologies was asked...

Nov 21, 2018
 How do you pass results from ui to server side.Be the first to answer this question

Senior Java Developer at Apptium Technologies was asked...

Mar 9, 2019
 Mostly basic java questions. They mainly look if you can solve problems. Based on experience they will not ask the common questions but will ask conceptual to see problem solving skills for real worldBe the first to answer this question

Senior Java Developer at Wallet Hub was asked...

Dec 2, 2017
 The log parser Remove the tag from the HTML String provided Given an array of numbers, create another array of numbers. Calculate each new array number by multiplying all input array numbers, except for the current number position in the new array. 1 Answerpublic static int[] getProductArray(int[] input) { int[] productArray = new int[input.length]; int product = 1; for (int i : input) { product *= i; } for (int i = 0; i < productArray.length; i++) { productArray[i] = product / input[i]; } return productArray; }

Senior Java Developer at Clarabridge was asked...

Oct 3, 2016
 Tell me about a situation that you solved a technical problem with your ingenuity?Be the first to answer this question

Senior Java Developer at Gold Coast IT Solutions was asked...

Feb 18, 2013
 Some of the analytical and situational questions have multiple right answers where the panel is looking to understand the thought process employed in deriving your answer.Be the first to answer this question
110 of 16 Interview Questions