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.

what is multithreading, multiprocessing,multitasking and what is interface ..y in java 8 default keyword introduce in interface, difference between string bufferand string builder, what is immutable class how u will implement,what is exception and hierarchy,what is the difference between microservice and rest API,which collection u have used in ur project...
avatar

Junior Java Developer

Interviewed at HCLTech

3.5
Nov 30, 2021

what is multithreading, multiprocessing,multitasking and what is interface ..y in java 8 default keyword introduce in interface, difference between string bufferand string builder, what is immutable class how u will implement,what is exception and hierarchy,what is the difference between microservice and rest API,which collection u have used in ur project...

Viewing 2461 - 2470 interview questions

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