Software Engineer Senior Java Developer Interview Questions

1,895 software engineer senior java developer interview questions shared by candidates

//What will be minimum and maximum number //that will be printed? class AbcThread extends Thread{ private int[] _arr; public MyThread(int[] arr){ this._arr = arr; } public void run(){ for (int i=0;i<20 ; i++) { this._arr[0]++; } } public static void main(String[] args) { int[] arr ={0}; try { MyThread t1 = new MyThread(arr); MyThread t2 = new MyThread(arr); t1.start(); t2.start(); t1.join(); t2.join(); }catch(Exception ex){ System.out.println("Exception "+ex); } System.out.println(arr[0]); } }
avatar

Software Engineer - Java Developer

Interviewed at Quantum Machines

4.1
Nov 28, 2023

//What will be minimum and maximum number //that will be printed? class AbcThread extends Thread{ private int[] _arr; public MyThread(int[] arr){ this._arr = arr; } public void run(){ for (int i=0;i<20 ; i++) { this._arr[0]++; } } public static void main(String[] args) { int[] arr ={0}; try { MyThread t1 = new MyThread(arr); MyThread t2 = new MyThread(arr); t1.start(); t2.start(); t1.join(); t2.join(); }catch(Exception ex){ System.out.println("Exception "+ex); } System.out.println(arr[0]); } }

- Explain project that you have done (stack you used) - Explain how you overcome difficulties in a team project - Talk about yourself and previous job experience - Talked about general testing knowledge (coverage, mockito, junit, testcontainers, jenkins, automation with selenium, etc.) - General questions
avatar

Junior Java Developer/Software Engineer

Interviewed at Merkle

3.5
Jul 19, 2023

- Explain project that you have done (stack you used) - Explain how you overcome difficulties in a team project - Talk about yourself and previous job experience - Talked about general testing knowledge (coverage, mockito, junit, testcontainers, jenkins, automation with selenium, etc.) - General questions

Viewing 241 - 250 interview questions

Glassdoor has 1,895 interview questions and reports from Software engineer senior java developer interviews. Prepare for your interview. Get hired. Love your job.