Java / Android self naming
Posted
by ngreenwood6
on Stack Overflow
See other posts from Stack Overflow
or by ngreenwood6
Published on 2010-04-05T21:22:42Z
Indexed on
2010/04/06
0:03 UTC
Read the original article
Hit count: 262
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
© Stack Overflow or respective owner