Hey,
I am little confused or can say not clear at all about
Why we do have native method in class
Thread and that too
One Sleep method has following prototype
public static native void sleep(long millis) throws InterruptedException;
and another has following-
public static void sleep(long millis, int nanos)
throws InterruptedException ;
So what is the purpose behind this choice.... I know it could be a lame question but curious to know....
Any help.
Regards,
Patricia.