Рет қаралды 57,978
In this video, We will discuss a few of the java collections interview questions which are asked so many times in the java interviews. So Hashmap and Immutability are closely related in java and it is expected to have counter questions from the interviewer. So let’s prepare some of the top collection framework interview questions in java.
Prerequisite: how hashmap works internally?
Why hashmap works internally? [Playlist]
• How HashMap works inte...
Lesson: #2 Interview questions on Java Immutable class and HashMap [ mmutability & HashMap ]
Timestamp :
Introduction : 00:00:00
What happens when we use mutable objects as HashMap Keys? 00:06:19
Breaking the hashmap properties - 00:12:35
the role of hashcode() in hashmap internal working in java - 00:14:18
Why HashMap Keys are Immutable? - 00 :18:51
the hashcode caching factor- 00:28:18
What will happen if the immutable classes are not marked as final? - 00:35:10
Subclass a immutable object- 00:38:01
Breaking immutable objects: 00:48:51
The impact of immutability on hashmap: 00:51:41
Reasons why the immutable class should be marked as final:00:54:51
String Vs StringBuffer- 00:57:45
So if you are looking for some top collection framework interview question/java interview questions and answers for experienced / java interview programs for freshers with answers; the above are some questions that you should try out.
for more java interview questions/java interview questions and answers for experienced /java interview questions and answers for freshers, consider subscribing to my channel.
/ @seleniumexpress
#CoreJavaInterviewQuestion #FAQForfreshers #FAQForExperienced
More core java interview questions :
Why String is immutable?
• Why string is immutabl...
String Hashcode caching internally. Hashcode caching for immutable classes (important)
• This is why string is ...
java interview questions and answers for experienced / Freshers [playlist]
• TOP 6 difference betwe...
For more courses visit
www.seleniumexpress.com
Any time you are getting stuck with issues, Feel free to ask for support.
You can send mail to seleniumexpress@gmail.com
you can ping me on my Facebook page
/ seleniumexpress
Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support”
/ 187000222361579
you can ask for support in my website forum
www.seleniumexpress.com
Follow me on Insta
/ selenium_express
Music :
-----
credits : -
(channel intro)
Adventures by A Himitsu / a-himitsu
Creative Commons - Attribution 3.0 Unported- CC BY 3.0
creativecommons.org/licenses/b...
Music released by Argofox • A Himitsu - Adventures...
Music provided by Audio Library • Adventures - A Himitsu...