In java how can we create the object reference thread for main() method
Answers
Answered by
1
do call this inside main method
Thread main = Thread.currentThread();
thats it. now pass on or use it like any other thread
brainlymember56:
but is must be Static
Similar questions