S
Stacey
(apology for duplicate post, I felt I posted in the wrong forum earlier.)
Could someone please enlighten me as to what will happen if I have:
public class MyClass
{
public static String someName = null;
public void setSomeName(String s)
{
someName = s;
}
public void getSomeString()
{
return someString;
}
}
I'm not sure how the static field is being handle using non-static getters/setters.
Thanks
Stacey
Could someone please enlighten me as to what will happen if I have:
public class MyClass
{
public static String someName = null;
public void setSomeName(String s)
{
someName = s;
}
public void getSomeString()
{
return someString;
}
}
I'm not sure how the static field is being handle using non-static getters/setters.
Thanks
Stacey