hi...does anyone know why i cant assign value to the variable.i have a class, and in the classDeclaration method, i write int counter;
then i have another method named setCounter(), and it only has 1 line: counter = 100;when the setCounter() method is called from main
(), it shows the error message "Wrong argument types in variable assignment" Does anyone know how to solve this problem?





Yahoo! Groups Sponsor


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Reply via email to