Home  /  Questions  /  Question

0   0
7 days ago

Object creation | Java

When some user clicks on some website,  one session gets created. In our code there are number of classes like shopping cart etc, it means one object for all those classes get created as lazy instantiation. As shopping cart is not singleton class so many object of Shopping cart will be created for a user? Does it happen like this?