I am about to start developing an Android application and had a question if in Java there self naming. For instance say I had a variable named dog that held the value of scruffy.
Could I then create a variable named scruffy from that variable. In PHP it would be $$dog
. That would make a variable with the name scruffy.
If this is possible please provide example