I wrote a program but unable to save it on eclipe getting an error. Need your inputs please
package day1.examples;
public class ExampleFor {
public static void main(
String[] args) {
// TODO Auto-generated method stub
for(int i = 0; i <=10; i= i+1);{
System.out.println("value = "
+ i);
}
}
}
The i which is underlined is giving an error "i cannot be resolved to a variable"