Answer Posted / himanshu kapoor
IF this question is that in how many ways we can use the thread in java?, then answer is that there are two ways
1. by implementing Runnable interface and
2. by inheriting Thread (abstract class)
| Is This Answer Correct ? | 24 Yes | 3 No |
Post New Answer View All Answers
What is java argument list?
What does nullpointerexception mean?
How does the garbage collector works in java?
what is a working thread? : Java thread
How does multithreading take place on a computer with a single cpu in java programming?
What are the high-level thread states in java programming?
How many days will it take to learn java?
What is dot operator?
What are the 6 mandatory procedures for iso 9001?
What does the exclamation mark mean in java?
What is the difference between jdk, jre, and jvm?
What is thread start?
Can memory leak happen java?
What is the use of private static?
Can variables be used in java without initialization?