saurabhthard aggarwal wrote:
What is the DIFFERENCE between a THREAD and an OBJECT
Please explain with an example
A thread is a thread of execution, it performs the work in a program.
An object is an instance of a class.
If you're struggling with key concepts like this,
you should read a
java book, not be requesting examples!!