You are viewing a single comment's thread. Return to all comments →
why don't you try making the static variable "str" to an instance variable in your code.
public static String str; ==> public String str;
Seems like cookies are disabled on this browser, please enable them to open this website
Java Singleton Pattern
You are viewing a single comment's thread. Return to all comments →
why don't you try making the static variable "str" to an instance variable in your code.