D
duff
Hi,
Can someone pls explain why the error in the example below? tia.
public class testclass {
public static void main (String[] a) {
testclass tc = new testclass() {
int intvar = 0;
intvar = 1; // compile time error here - why?
};
}
}
Can someone pls explain why the error in the example below? tia.
public class testclass {
public static void main (String[] a) {
testclass tc = new testclass() {
int intvar = 0;
intvar = 1; // compile time error here - why?
};
}
}