Java: Multiple objects of a same java class ?
Suppose i have two java classes A and B and if i create the multiple objects of java class B in A. So does it mean that each object is allocated separately in the memory 

Do i have to use single instance of class B to save memory ?
Java: Multiple objects of a same java class ?
===

Suppose i have two java classes A and B and if i create the multiple objects of java class B in A. So does it mean that each object is allocated separately in the memory 

Do i have to use single instance of class B to save memory ?