How many objects can you put in a Collection? - Cracking the Java Coding Interview

preview_player
Показать описание
Cracking the #Java #Coding #Interview - Question 58: How many objects can you put in a Collection?
Рекомендации по теме
Комментарии
Автор

Minor nitpick: Most JVMs do not allow arrays of length Integer.MAX_VALUE or even 1 or 2 values below that. I believe it has something to do with the header size of an array object. It is JDK-dependent and afaik not advertised by the API.

dirktoewe
Автор

I really like this format!Very interesting and easy to be consumed.Really helps with those interview questions that they just randomly ask and just watch your videos every time I get a notification that you've uploaded :)

MsSWAGboss