R
Robin.Liu
Hello all!
I create a class A, and I want to insert an integer
into the object of class A directly. Like this
A a = new A();
a = 1;
The compiler doesn't allow me to overload the
operaotr "=". How can I do that?
thanks,
Robin.Liu
I create a class A, and I want to insert an integer
into the object of class A directly. Like this
A a = new A();
a = 1;
The compiler doesn't allow me to overload the
operaotr "=". How can I do that?
thanks,
Robin.Liu