I need to get variable inString in other class. How can I do this?
inString
public class main { public static StringBuffer inString; public sta
You can get to it by: main.inString where main is the name of the class where public static variable is declared.
main.inString
main
public static