Originally posted by Anas El-Abboud: would you tell me the way i can make : get() in class to parameters in another class without set() in the last one ?
If my understanding is correct, you're trying to code a class that has getter methods that will get values in another another class. This isn't the normal way that we do things. Every POJO has its own set of getter & setter methods to allow another class to access/change its values. Not the other way round, as what you're trying to do.
thanks Cheng ! , i know that is not the normal way.. but in a sender class it was sending values to the receiver all the methods in the first setting values were had a getter method but in the second class ! i donn't know if that was right .but ! thanks again