G
Gil
Hi,
I created an object set private variables in the object. I want to
reuse the object but with default values. How can I do this?
SomeObject so1;
so1.setValue1(1);
so1.setValue2(1);
// I would now like a clean so1
// can I do this?
so1 = new SomeObject();
I created an object set private variables in the object. I want to
reuse the object but with default values. How can I do this?
SomeObject so1;
so1.setValue1(1);
so1.setValue2(1);
// I would now like a clean so1
// can I do this?
so1 = new SomeObject();