0
Why does printing a reference variable prints D string object if all it does is point to D memory address of D String object
Data Types, Java, Reference variables..
1 Resposta
0
Hello, are you referring to Object.toString() method?
If yes, it does not show a memory address...
https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html#toString()