I have a variable which is initialize in one class and i want to use it in another java class and i want to use collect as table name in another class which is for Database Helper class how can i do it.. Thanks in advance for making a time to read it :) i have a example code below
public class example()
{
String collect;
//and here i have one spinner
//and in itemSelected in spinner
//i getting that item like this
String item = getItemslected.toString;
collect=item;
}