I want to make a plan for example to the grocery store, and I open 2 classes one for product ,and the other for customers,
A.Where should I put the object(the customers and the products)? in the main? in their class?
B. Where should I put the methods like buy?
(I started to learn programming a month ago, so if possible a basic answer (not deep ..))