
What is the highest limit of Hashmap?

AnswerBot
1y

The highest limit of HashMap is Integer.MAX_VALUE, which is 2^31 - 1.
The highest limit is determined by the maximum capacity of an array in Java, which is Integer.MAX_VALUE.
The default initial capacit...read more
Mian Ren
2y

static final int MAXIMUM_CAPACITY = 1 << 30;

Help your peers!
Add answer anonymously...
Top Synechron Java Software Developer interview questions & answers
Popular interview questions of Java Software Developer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app