+ 11

What is main difference between the Throwable class and Runnable interface???

27th Apr 2019, 9:56 AM
Nasir❀
Nasir❀ - avatar
3 Answers
+ 4
Throwable is about throwing run time exceptions whereas Runnable is about running threads for parallel processing.
29th Apr 2019, 1:11 AM
Sonic
Sonic - avatar
+ 2
Throwable class are the root or every error and execption built in java. meanwhile Runnable class make the implemented class run in different thread
27th Apr 2019, 10:17 AM
Taste
Taste - avatar
+ 1
They are not similar in any way. Throwable has to do with exception handling(and other related things); Runnable has to do with threading.
2nd May 2019, 3:50 PM
hamza belmellouki
hamza belmellouki - avatar