Junior Java Developer Software Engineer Interview Questions

3,912 junior java developer software engineer interview questions shared by candidates

------------------------------- ->HashMap is implementation of Map interface ->Here we can store key value pairs ->When we use put method to set data to hashmap * Internally get the hashcode of key. * And based on the hashing algaritham it will find out the bucket location ->the defualt bucket size is 16. ->The same process will happened for get The data from hashmap ** There is chanse of getting same hashcode for multiple objects. this we called it has collission in this case intenal of bucket it will create linkedList and assinged. -->In java 1.8 hashmap performance improved As we know LinkedList permermance is low for the searching the data. if mutiple collision occures in the map. in this time hashmap performance also

Junior Java Developer

Interviewed at infinitrac

1
Mar 3, 2022

------------------------------- ->HashMap is implementation of Map interface ->Here we can store key value pairs ->When we use put method to set data to hashmap * Internally get the hashcode of key. * And based on the hashing algaritham it will find out the bucket location ->the defualt bucket size is 16. ->The same process will happened for get The data from hashmap ** There is chanse of getting same hashcode for multiple objects. this we called it has collission in this case intenal of bucket it will create linkedList and assinged. -->In java 1.8 hashmap performance improved As we know LinkedList permermance is low for the searching the data. if mutiple collision occures in the map. in this time hashmap performance also

what is method overloading and method overriding How does Java enable high performance Difference between String, String Builder, and String Buffer. what is Collections, Exceptions, Threads, Serialization, with examples
avatar

Junior Java Developer

Interviewed at Ample Softech System

3.7
Nov 30, 2022

what is method overloading and method overriding How does Java enable high performance Difference between String, String Builder, and String Buffer. what is Collections, Exceptions, Threads, Serialization, with examples

Viewing 2671 - 2680 interview questions

Glassdoor has 3,912 interview questions and reports from Junior java developer software engineer interviews. Prepare for your interview. Get hired. Love your job.