Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Thread class vs Runnable interface
classes
inheritance
interfaces
java
threads
1 Vote
1 Answer
8th Nov 2016, 12:47 PM
Islay
Does every runnable java program have main method?
main
program
runnable
12 Votes
3 Answers
19th Apr 2017, 6:25 PM
kodi rud
Can I create Runnable interface as follows?
java
runnable
threads
4 Votes
2 Answers
12th Nov 2017, 6:32 AM
Meharban Singh
Creating Thread by implementing Runnable interface
interface
threads
0 Votes
1 Answer
17th Aug 2018, 1:03 PM
JayeshSavage
Thread vs runnable interface which one is best
java
2 Votes
3 Answers
14th Apr 2017, 4:51 AM
Nikhil
How to run runnable class every 1 sec?
java
threads
1 Vote
2 Answers
10th Apr 2016, 11:37 AM
Hemanth S
What is main difference between the Throwable class and Runnable interface???
code
java
object_oriented_program
11 Votes
3 Answers
27th Apr 2019, 9:56 AM
Nasir❤
Can anyone tell me about Runnable interface in java?
interfaces
java
threads
0 Votes
2 Answers
7th Dec 2020, 6:38 PM
Yash Chaudhari
Why implementing runnable interface approach is better than the extending thread
java
threads
11 Votes
2 Answers
3rd May 2017, 8:40 AM
CHETHAN H.N
What is the difference between implement Runnable interface and extends the Thread?
java
runnable
thread
3 Votes
7 Answers
26th Aug 2019, 7:40 AM
Shahid Iqbal
Fill in the blanks to implement the Runnable interface and run a new thread.
java
threads
-1 Vote
12 Answers
13th Nov 2016, 2:47 PM
anjanel macalaguim
What is difference between extends Thread and implemenst Runnable in Java
java
2 Votes
1 Answer
7th Apr 2017, 3:28 PM
kz kz
Which is the best practise in threads to implement Runnable interface or extending thread class?
java
0 Votes
3 Answers
12th Oct 2016, 5:33 PM
Kunapareddy Vj
Why java threads are not running in Sololearn editor?
java
runnable
threads
11 Votes
3 Answers
6th Dec 2019, 6:41 AM
Arafat Hossain Ar
Java program doubt
runnable
thread
-1 Vote
2 Answers
26th Nov 2020, 4:46 PM
Pranay Pandey
What Java code do i need to add to "Hello World" to make it a runnable Jar file in eclipse?
java
1 Vote
3 Answers
28th Apr 2019, 9:23 PM
Khaing Khaing Mon
How do i implement thread.sleep in this code snippet
java
runnable
threads
2 Votes
2 Answers
21st Mar 2019, 2:55 PM
stephen haokip
Creating Thread objects from interface
interface
runnable
threads
2 Votes
3 Answers
24th Dec 2017, 4:09 PM
ziggy
Guys when I try 2 threads instances(for counting upto 10 ) using runnable interface I get output where in t1 is completely executed n then t2 ... While in tutorial t1.10 t2.10 t1.9 t2. 9 t1.8 t1.7 like that
java
threads
0 Votes
5 Answers
2nd Aug 2016, 7:36 AM
Umed Jadhav
Explain Life cycle of thread?
block
dead
example
java
run
runnable
threads
0 Votes
4 Answers
28th Aug 2017, 3:09 PM
Sreejith P
Why is there an object as an argument in this multi-thread example?
argument
java
method
multithreading
object
run
runnable
start
thread
threads
1 Vote
1 Answer
26th May 2019, 11:17 PM
Roger Wang
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
The hidden trap in python function
4 Votes
OOP python questions
1 Votes
How to create games and it to Play store
2 Votes
What is a web browser intension?
1 Votes
Python loops
1 Votes
Web page
1 Votes
Percobaan
0 Votes
Mentors
0 Votes
Codding lern
0 Votes
What are these purple cubes good for?
0 Votes