Java Software Engineer Interviews

Java Software Engineer Interview Questions

"Java software engineers design, build, and maintain systems that support and run java applications. Employers are looking for candidates who display strong organizational and communication skills as well as advanced technical skill within the java universe. During an interview, expect to answer a lot engineering questions as well as discuss past projects you have worked on."

30,825 java software engineer interview questions shared by candidates

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
avatar

Java Developer

Interviewed at MindGate Solutions

3.3
Apr 20, 2015

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

Viewing 81 - 90 interview questions

Glassdoor has 30,825 interview questions and reports from Java software engineer interviews. Prepare for your interview. Get hired. Love your job.