Hi, one thing lacking for me is one concept of threads. For example, say i have a customer class that has methods to deletecustomer, addcustomer, editcustomer etc.
I make this runnable.
Then say for instance, i have 3 users. they all want to work on three different customers at the same time.
So
user 1 wants to delete a customer
user 2 wants to add a customer
user 3 wants to edit a customer.
Making a new
thread for these is fine.
However, one concept i don't understand is what to write in the run method??
I can't type addcustomer, deletecustomer or editcustomer, as these may not always be needed. Can someone help me to understand this please?