Java : Why do want to new different objects from one class
I was asked this once. Why do we need to new object every time we want to use it. Yes, my first answer is, we need different objects because we need to use them separately because they are on different locations in Heap memory. However, this is not actually the answer. So, why do we [...]
Twitter
Facebook