Technical Lead Java Interview Questions

12,584 technical lead java 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

First round was aptitude round followed by programing round then technical round and last hr round First aptitude round contain 3 section 1st section had 30 question based on logical reasoning , section B contain 15 question of english grammar like filling the blanks. Last section c contains technical questions like c,java programing output.It is not taugh but out of 60 students 15 clear that test. Sencond round was programing round they was given pattern program.out of 15 mostly 4-5 cracked that round and next round was technical round in that round they was ask me besic concept but in deep.this round took more than 1 hour. So be prepared oops concept deep.im wating for 3rd round result.
avatar

Java Developer

Interviewed at OSI Digital

3.5
May 13, 2018

First round was aptitude round followed by programing round then technical round and last hr round First aptitude round contain 3 section 1st section had 30 question based on logical reasoning , section B contain 15 question of english grammar like filling the blanks. Last section c contains technical questions like c,java programing output.It is not taugh but out of 60 students 15 clear that test. Sencond round was programing round they was given pattern program.out of 15 mostly 4-5 cracked that round and next round was technical round in that round they was ask me besic concept but in deep.this round took more than 1 hour. So be prepared oops concept deep.im wating for 3rd round result.

Viewing 41 - 50 interview questions

Glassdoor has 12,584 interview questions and reports from Technical lead java interviews. Prepare for your interview. Get hired. Love your job.