Because no matter how many objects will we create with static will share same reference ?
Asked
Active
Viewed 209 times
0
-
3No. It is used to indicate lifecycle perhaps, but not for memory management. Java does not allow for explicit memory management. – Elliott Frisch Dec 01 '17 at 02:57