Jr Java Developer Interview Questions

3,800 jr java developer interview questions shared by candidates

Re-enterant lock How to increase memory of heap in java -xms256m,xmx2014m test.java Is jar enough for client deloyemnt -- I said jre sould be installed and then jar How to override equal() -- public boolen Equals(Object o){} Working of hash map Is concurrent hash map thread safe? Is Singleton thread safe? How to convert array to arraylist? -- Arrays. asList() Can we override static method? How to remove an element from set? -- mySet.remove(Object) How to count number of word present in String -- used hashset implementation What is race condition? -- multithread oprations What is context switching? -- it is used in threads to retain its state when a thread moves to runnable state after getting execution time for few seconds. Simple join in two tables Null insertion in TreeSet or TreeMap -- for the first time we can add it as first element, after that we'll get NPE because of sorting require to compare two objects. Null Insertion in HashMap -- in 0th bucket. Deamon Thread Thread executer framework Diff between Collections and Collection Implicit objects of jsp. What is Future class.
avatar

Junior Java Developer

Interviewed at Capgemini

4.2
Sep 16, 2021

Re-enterant lock How to increase memory of heap in java -xms256m,xmx2014m test.java Is jar enough for client deloyemnt -- I said jre sould be installed and then jar How to override equal() -- public boolen Equals(Object o){} Working of hash map Is concurrent hash map thread safe? Is Singleton thread safe? How to convert array to arraylist? -- Arrays. asList() Can we override static method? How to remove an element from set? -- mySet.remove(Object) How to count number of word present in String -- used hashset implementation What is race condition? -- multithread oprations What is context switching? -- it is used in threads to retain its state when a thread moves to runnable state after getting execution time for few seconds. Simple join in two tables Null insertion in TreeSet or TreeMap -- for the first time we can add it as first element, after that we'll get NPE because of sorting require to compare two objects. Null Insertion in HashMap -- in 0th bucket. Deamon Thread Thread executer framework Diff between Collections and Collection Implicit objects of jsp. What is Future class.

Viewing 2481 - 2490 interview questions

Glassdoor has 3,800 interview questions and reports from Jr java developer interviews. Prepare for your interview. Get hired. Love your job.