na not that... il check the previous thng
Type: Posts; User: shachee
na not that... il check the previous thng
ya i want that only.... thnx bt what will be the code for that
[QUOTE=Norm;98940]The variable i is local to the method: getPriority() and will always start with the value assigned in the method.
Can you explain what you want that method to do? The way it is...
public int getPriority(){
int i=0;
return i++;
}
this method is called in another file, i want incremented value of i and not 0 when everytime this function is called.