Got confussed between object of a class and thread of a class. Please explain me for my following questions:-
1) what is the difference between an object of a class and a thread of a class ?
2) Are object and thread not same in java?
3) Don't you think that both are behaving similalry in some or other way ?
4) How the threads are created (before or after loading the class)?
Thanks for your precious time.
1) what is the difference between an object of a class and a thread of a class ?
2) Are object and thread not same in java?
3) Don't you think that both are behaving similalry in some or other way ?
4) How the threads are created (before or after loading the class)?
Thanks for your precious time.
