• Post Reply Bookmark Topic Watch Topic
  • New Topic

Regarding Threads  RSS feed

 
sirisha makkapati
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We Can Ctreate a Thread In 2 ways one Implementing Runnable Interface and one extending thread Class & also give me the Reason.

Please Any One Can Help me?

Thanks && Regards,
Sirisha
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have two choices. Either implement Runnable or extend Thread. They are almost the same since the Thread class itself implements Runnable.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Threads forum.

Dave
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
your first sentence isn't a question, it's a statement. And a poorly worded one at that.

Your second sentence which is a question makes no sense because you don't state what you want to be helped with.
 
Scott Johnson
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And a poorly worded one at that.


Jeroen,

Sirisha is obviously a non-native English speaker. If you don't understand the question then ask for clarification.

Thanks.
 
Jeevan Philip
Ranch Hand
Posts: 41
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!