Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Core Java - Interview Questions and Answers for 'Arrays memory' - 1 question(s) found - Order By Newest|
|Ans. Arrays are of fixed size and have to reserve memory prior to use. Hence if we don't know size in advance arrays are not recommended to use.|
Arrays can store only homogeneous elements.
Arrays store its values in contentious memory location. Not suitable if the content is too large and needs to be distributed in memory.
There is no underlying data structure for arrays and no ready made method support for arrays, for every requriment we need to code explicitly
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  java   arrays   disadvantages of arrays   arrays memory   arrays vs variables|