Doubt in accessing member variables of called object
Joined: Oct 17, 2001
Hi, Suppose there are two classes Server and B.
Could anyone help me to fix this problem. I have similar problem at work. Thanks a lot... [This message has been edited by Cindy Glass (edited November 01, 2001).]
Joined: Nov 06, 2000
Assuming they are in the same package, hence visible to each other, create an instance of the Server class in your method and use it. Server s = new server() String str = s.getStatus() s.setStatus("someString")
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley