import java.util.Scanner;
   import java.lang.Thread;
   class OrigClass {
   public static void main (String[] args){
   for(int i = 0; i<=10;i++){
      System.out.println(i);
      thread.sleep(1000);
   }
  }
 }
As you can see, I want the program to count up to 10. What do I need to type to get it to work?
I probably should have said the error is "thread cannot be resolved" in Eclipse.
 
     
     
     
     
     
     
    