Desarrollador Java Interview Questions

Desarrollador Java Interview Questions

En una entrevista para un puesto de desarrollador Java, prepárate para responder preguntas técnicas destinadas a evaluar tus conocimientos básicos de Java. El posible que también te formulen preguntas abiertas para evaluar tus habilidades de programación y de resolución de problemas. Prepárate para afrontar preguntas no técnicas centradas en tus habilidades de comunicación interpersonal, de organización del tiempo y de ética en el trabajo.

Preguntas de entrevista más frecuentes para desarrollador/a Java y cómo responderlas

Question 1

Pregunta n.º 1: ¿Cuál es la diferencia entre HashTable y HashMap en Java?

How to answer
Respuesta recomendada: Los entrevistadores usarán preguntas técnicas para evaluar tu cualificación formal y tus conocimientos del lenguaje de programación Java. Aprovecha tu respuesta para exponer tus habilidades de comunicación. Aunque lleves años programando, quizás te convenga repasar tus nociones básicas de Java antes de la entrevista.
Question 2

Pregunta n.º 2: Escribe un programa para determinar si 243 es un número Armstrong.

How to answer
Respuesta recomendada: Usarán preguntas abiertas para poner a prueba tus habilidades de programación. Esta pregunta permite evaluar tu capacidad para resolver un problema utilizando un algoritmo de Java. Explica tu planteamiento mientras utilizas un editor de código o pizarra.
Question 3

Pregunta n.º 3: ¿Cómo lograrías elaborar código de calidad si tuvieras que simultanear varios proyectos Java?

How to answer
Respuesta recomendada: Los desarrolladores Java a menudo tienen que trabajar en varios proyectos a la vez. Las personas que realizan la entrevista utilizan preguntas como esta para poner a prueba tus habilidades organizativas y de gestión. Las empresas también intentan evaluar tu compromiso de calidad con tu trabajo. Si tienes experiencia como desarrollador, incluye ejemplos de tu experiencia profesional que demuestren tu capacidad para producir trabajo de calidad y para gestionar el tiempo de manera eficiente.

710,038 desarrollador java interview questions shared by candidates

The questions were not very difficult but you really need to have all the concepts crystal-clear and be ready to apply them successfully. One of the questions was "how to count the letters in this string:" "The quick brown fox jumps over the lazy dog";
avatar

Software Development Engineer

Interviewed at Google

4.4
Apr 25, 2013

The questions were not very difficult but you really need to have all the concepts crystal-clear and be ready to apply them successfully. One of the questions was "how to count the letters in this string:" "The quick brown fox jumps over the lazy dog";

If you had a list of appointments (each appointment has a begin time, an end time, and a boolean hasConflict), how would you efficiently go through them and set the hasConflict boolean for each. You cannot assume they are sorted in any way. Keep in mind that one appointment may be very long, etc.
avatar

Software Engineer

Interviewed at Google

4.4
Nov 3, 2010

If you had a list of appointments (each appointment has a begin time, an end time, and a boolean hasConflict), how would you efficiently go through them and set the hasConflict boolean for each. You cannot assume they are sorted in any way. Keep in mind that one appointment may be very long, etc.

Phone interview question: Given a string pattern of 0s, 1s, and ?s (wildcards), generate all 0-1 strings that match this pattern. e.g. 1?00?101 -> [10000101, 10001101, 11000101, 11001101]. You can generate the strings in any order that suits you.
avatar

Software Engineer

Interviewed at Google

4.4
Aug 1, 2013

Phone interview question: Given a string pattern of 0s, 1s, and ?s (wildcards), generate all 0-1 strings that match this pattern. e.g. 1?00?101 -> [10000101, 10001101, 11000101, 11001101]. You can generate the strings in any order that suits you.

- Given an array, remove the duplicates and return a unique array keeping the first occurrence of the duplicates and the order. [@2, @1, @3, @1, @2] --> [@2, @1, @3] - how would you implement call for canceling queued blocks with dispatch_after?
avatar

IOS Developer

Interviewed at Meta

3.6
Nov 4, 2013

- Given an array, remove the duplicates and return a unique array keeping the first occurrence of the duplicates and the order. [@2, @1, @3, @1, @2] --> [@2, @1, @3] - how would you implement call for canceling queued blocks with dispatch_after?

Given an array with length n-1 which contains integers of the range 1 to n. Each element is distinct and appears only once. One integer is missing. Find the missing integer in linear time using O(1) memory. Now two integers are missing, find them out in linear time using O(1) memory. How about three?
avatar

Software Development Engineer

Interviewed at Microsoft

4
Jul 10, 2009

Given an array with length n-1 which contains integers of the range 1 to n. Each element is distinct and appears only once. One integer is missing. Find the missing integer in linear time using O(1) memory. Now two integers are missing, find them out in linear time using O(1) memory. How about three?

Consider an X x Y array of 1's and 0s. The X axis represents "influences" meaning that X influences Y. So, for example, if $array[3,7] is 1 that means that 3 influences 7. An "influencer" is someone who influences every other person, but is not influenced by any other member. Given such an array, write a function to determine whether or not an "influencer" exists in the array.
avatar

Senior Software Engineer

Interviewed at LinkedIn

3.8
Aug 1, 2013

Consider an X x Y array of 1's and 0s. The X axis represents "influences" meaning that X influences Y. So, for example, if $array[3,7] is 1 that means that 3 influences 7. An "influencer" is someone who influences every other person, but is not influenced by any other member. Given such an array, write a function to determine whether or not an "influencer" exists in the array.

assume you are writing number in ascending order to an array of constant size. once you reach the end of the array, you start writing from the beginning, thus writing over the oldest entries. write an algorithm for finding a specific number in this array.
avatar

Software Engineer

Interviewed at Google

4.4
Mar 12, 2010

assume you are writing number in ascending order to an array of constant size. once you reach the end of the array, you start writing from the beginning, thus writing over the oldest entries. write an algorithm for finding a specific number in this array.

Viewing 111 - 120 interview questions

Glassdoor has 710,038 interview questions and reports from Desarrollador java interviews. Prepare for your interview. Get hired. Love your job.