I'm asking what I have understand is right or wrong?
Type: Posts; User: sagar474
I'm asking what I have understand is right or wrong?
you answered in #2 that what I understood is sleep is a static method hence it invoked with out actually creating an object reference variable. right?
yes because I'm very new to java.
Yea since sleep is a static method?
To create threading there is an object
Thread.sleep();
Is Thread is an object ? sleep is a method? I never created a object called Thread then how can it exists.