what is the difference between thread and runnable types? : Java thread
Answer / Sarveshkumar
Thread is a Java class that represents a separate flow of execution, while Runnable is an interface that defines what a thread should do. A Thread instance can be created using either a Runnable object or by extending the Thread class.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you load an HTML page from an Applet ?
Can you pass by reference in java?
Can we have a try block without catch block?
How do you sing an Applet ?
How will you calculate the depth of a binary tree if the tree contains 15 nodes?
What is meant by Java interpreter?
What is the abstraction?
Can the garbage collection be forced by any means?
Why is stringbuffer called mutable?
what is the full form of java
What is hashing in java?
What are anonymous inner classes?