Java Crack
Tuesday, 3 October 2017
JAVA : MULTI-THREADING : Define a Thread- extends Thread
JAVA : MULTI-THREADING : Define a Thread - extends Thread
Thread is
flow of execution,
each thread has a job.
Defineing a Thread:
1> By
extending Thread
class
2> By
implementing Runnable
interface
1. Extending Thread
Difference between t1.start() and t1.run()
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment