This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I have a class A{ public int var_A; public void run(){ try(){ doSomething(); Thread.sleep(130); }catch (InterruptedException e){ } } } public class demo{ private A [] a=new a[10]; public static void main(String [] args){ for(int i=0;i<10;i++){ a[i]=new a(); a[i].start(); } } } now how do change the value of var_A in class A at every 625 milliseconds using a Timer.schedule method? thanx