if((result(new value,oldvalue)))
public class boolean result(newval, oldval){
boolean resbool=false;
allquenames we are getting in allquenames
if(allquenames.contains(newval) && (newval!=oldval)){
for(type qm:allquenames){
if(qm=newvale){
resbool=true
}
}
}
return resbool;
}
public class boolean result(newval, oldval){
boolean resbool=false;
allquenames we are getting in allquenames
if(allquenames.contains(newval) && (newval!=oldval)){
for(type qm:allquenames){
if(qm=newvale){
resbool=true
}
}
}
return resbool;
}