Java Lead Interview Questions

24,791 java lead interview questions shared by candidates

First round asked about my background. Second round was technical questions about Java and an ETL-type challenge with their modeler. Some technical questions: What is ACID and explain, Java memory types and how it is handled. How to make sure objects will be garbage collected. How to make table creation faster in SQL, multithreading, streams, what are the different types of collections in java, what is an example of an ordered map, etc
avatar

Senior Technical Consultant - Java

Interviewed at ACTICO

4.1
May 7, 2023

First round asked about my background. Second round was technical questions about Java and an ETL-type challenge with their modeler. Some technical questions: What is ACID and explain, Java memory types and how it is handled. How to make sure objects will be garbage collected. How to make table creation faster in SQL, multithreading, streams, what are the different types of collections in java, what is an example of an ordered map, etc

//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]); } }

Viewing 5391 - 5400 interview questions

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