How to access or use in a condition the variable from another class ?? I have a declared variable makol in kstemmer class and i want to use that in stemmer class..
public class Kstemmer {
private int makol=0;
}
//and this for the stemmer class
public Stemmer() {
if (makol==0){
System.out.println("avid");
}
}