Hi, I'm new to programming and was wondering if someone could explain why someone would ever make a static instance of a non-static object. What purposes could that serve?
Basically I'm trying to understand the declaration of the ShoppingCartModel object at the top of this image:

Thanks
Rajanikant HawaldarPosted Feb 3, 2020, 5:39 AM
Guest UserPosted Feb 3, 2020, 5:28 AM