hi all, i need a was to add unique id to each objects i have created form same class, for example i have a class called Customer and i have 2 fields,
1. name
2. id
this names is set when i create an object
Customer c1 = new Customer("Bunny");
Customer c2 = new Customer("Sunny");
now i need to have id set as follows:
c1 --> id = 1
c2 --> id = 2
how can i do that? please help me

