Dear, Abbas Zaini, If this will be possible, please, describe us the way of using this string (which contains the name of reference) in *creating a new 'name field*'?
Paul 2009/8/25 Abbas Zaini <[email protected]> > so there is no way to get the name of the reference of an object's > instance, but as long as the parameter is passed to the method by reference, > it means that the compiler recognizes it, and it is possible to get the > string which references the instance, maybe such a method gets available in > future versions of JDK, because it is really useful to have it, it saves you > the effort of creating a new name field and initiate it in each object > instance,and in the project which i am working on it saves me a whole line > after each object instance. > > -- > Abbas Zaini > > > > -- Живой, я живые тела крушу; стальной - ты крушишь металл, И, значит, против своей родни, каждый их нас восстал. --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
