They wanted a 2 minute profile video, for their clients
Java Engineer Interview Questions
27,715 java engineer interview questions shared by candidates
program for Armstrong number and program for factorial
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.
Input is a string like "AAAAABBCCAA" and it should print "5A2B2C2A". 5 being the continuous number of occurance for character 'A'. Same is with other characters also.
Given an array of pairs of numbers, simplify the numbers. The pairs represent ranges, and the result is a simplified version of these pairs. So [1,5],[3,7] should result in [1,7].
Interview question like that Q: 01 Given: 11. public static void parse(String str) { 12. try { 13. float f = Float.parseFloat(str); 14. } catch (NumberFormatException nfe) { 15. f = 0; 16. } finally { 17. System.out.println(f); 18. } 19. } 20. public static void main(String[] args) { 21. parse("invalid"); 22. } What is the result? A. 0.0 B. Compilation fails. C. A ParseException is thrown by the parse method at runtime. D. A NumberFormatException is thrown by the parse method at runtime. Answer: B
1.program to print 1 to 100 without using any loop
Some questions about Java basics, and some math problems and SQL
When does a deadlock occur?
Given an array of N integers, find the missing integer.
Viewing 71 - 80 interview questions