public class GlobalDataForURL extends Application { String url=""; public String getName() { return url; } public void setName(String aName) { url = aName; } }
GlobalDataForURL gData = new GlobalDataForURL(); gDate.setName("www.google.com"); // and later use it like this, gDate.getName();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)