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.
Desarrollador De Software Java Interview Questions
26,834 desarrollador de software java interview questions shared by candidates
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
Some questions about Java basics, and some math problems and SQL
1.program to print 1 to 100 without using any loop
Given an array of N integers, find the missing integer.
what is compiler ?
Oops concepts, what is pointer,what is Access specifiers, etc.
Write some code to print extract words from a piece of text. Analyse the words found and print out some metrics e.g. average word length, most common word length etc...
Viewing 71 - 80 interview questions