In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Explain importance of throws keyword in java?

0 Answers  


What's the purpose of static methods and static variables?

0 Answers  


What is the difference between preparedstatement and statement in java?

0 Answers  


why HashTable not allow null key and value

2 Answers   Crimson Logic,


Does isempty check for null?

0 Answers  


To what value is a variable of the Boolean type automatically initialized?

3 Answers  


What does pointer mean?

0 Answers  


Why spring singleton is not thread safe?

0 Answers  


How do you remove duplicates from an array in java?

0 Answers  


What is percentage in java?

0 Answers  


What is a function in java?

0 Answers  


Is binary a low level language?

0 Answers  


Categories