Hi guys. I am new to java. I composed a program :
but it doesn't work and compiler give me this error:Code://: object/DemonsrateStatic
public class DemonsrateStatic{
public static void main(String[ ] args){
class TestClass{
static int i;
}
TestClass test1= new TestClass( );
TestClass test2= new TestClass( );
TestClass test3= new TestClass( );
System.out.println(TestClass.i);
` test1.i++;
System.out.println(TestClass.i);
test2.i++;
System.out.println(TestClass.i);
test3.i++;
System.out.println(TestClass.i);
TestClass.i++;
System.out.println(TestClass.i);
}
}//:~
E8.java:11: illegal character: \96
` test1.i++;
^
1 error
what's wrong with my program?!
thanks

