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

What is difference between fail-fast and fail-safe?

0 Answers  


Difference between this() and super() in java ?

0 Answers  


What is a string what operation can be performed out with the help of a string?

0 Answers  


What is arrays sort in java?

0 Answers  


Can we create a constructor in abstract class?

0 Answers  






What is native method in java?

0 Answers  


Is it possible for a yielded thread to get chance for its execution again?

0 Answers  


What are the basic control structures?

0 Answers  


In which order the iterator iterates over collection?

0 Answers  


y cant i declare method like public final static show()

3 Answers  


What does nullpointerexception mean?

0 Answers  


different between exception and error? explaim check and uncheck exception

4 Answers  


Categories