program that call its method automatically
hi,
i have to make a simple program which automatically calls a method after each 25 microseconds.Let say i have a program which looks like :
public static void main(String[] args)
{
void method1(void)
{
//method defination
}
System.out.println("my name is wallam");
}
The method "method1" is called automatically after each 25 microseconds and rest of the program execute as normal.So please give me the code for this program.
|