if the size of one object is 110 bytes and there are 1000 such objects then how can we efficiently call a method using this object so that minimum memory is required?
Type: Posts; User: Techexpert
if the size of one object is 110 bytes and there are 1000 such objects then how can we efficiently call a method using this object so that minimum memory is required?
How do we create 1000 objects in java efficiently and what will be the memory overhead in creating these many objects?