Can I change the description of a variable?

I want to see my own line in this place. I want to create this line myself. for instance
"RTKAccount number=111 and FGSFDS"
insead of
"RTKAccount (id=830039244504)".
I tried changing the method toString()in my class, but it did not work.
public String toString() {
return "RTKAccount id=" + this.id + " number=" + this.number;
}
source
share