How we can get the reputed value of a variable in one class into another class

Posted by sairam333 on Stack Overflow See other posts from Stack Overflow or by sairam333
Published on 2010-05-05T06:31:54Z Indexed on 2010/05/05 6:38 UTC
Read the original article Hit count: 176

Filed under:

Hi all, I want to get a updated value of a variable into other class .i set value to that variable using setter method.when i use the getter in the same class it returns the setter value.But i want that getter value in another class.When i create a new object for that class and call getter method it returns null.What can i do for this .Thanks in adance

© Stack Overflow or respective owner

Related posts about java