+ 1
How to store object name in a string
Say I have an object Ferrari of class Car, how do I access the name of the object "Ferrari" without assigning it to a String?
2 Answers
0
Thanks for the answer, I could hard code the name of the variable, but all I wanted to know is: the above process is feasible or not.