Java Lead Interview Questions

6,748 java lead interview questions shared by candidates

1. Output of:- public class Recursion { public int abc(int x){ if (x > 30) return x; System.out.println(x); x=x+abc(x+10); System.out.println(x); return x; } public static void main(String[] args) { new Recursion().abc(6); } } 2. Some question on Locker 3. Some question on brackets (){}[]. I attempted starting 2. 1st one was correct. 2nd one was having run time error when i checked at my place. Got rejected in the coding test but any ways it was a good experience.
avatar

Java Developer

Interviewed at OnMobile

3.6
Feb 9, 2017

1. Output of:- public class Recursion { public int abc(int x){ if (x > 30) return x; System.out.println(x); x=x+abc(x+10); System.out.println(x); return x; } public static void main(String[] args) { new Recursion().abc(6); } } 2. Some question on Locker 3. Some question on brackets (){}[]. I attempted starting 2. 1st one was correct. 2nd one was having run time error when i checked at my place. Got rejected in the coding test but any ways it was a good experience.

Viewing 231 - 240 interview questions

Glassdoor has 6,748 interview questions and reports from Java lead interviews. Prepare for your interview. Get hired. Love your job.