Guys, is it legal to overload the run() method in a Thread class ?
bigsurya 0 Newbie Poster
Recommended Answers
Jump to PostWhat you're supposed to do almost certainly (there's hardly ever a need to derive from Thread) is to create a new class that implements Runnable and implement the run() method in that.
Jump to PostIt has no code tags.
All 5 Replies
BestJewSinceJC 700 Posting Maven
moutanna 2 Posting Whiz
BestJewSinceJC commented: this added... nothing to the thread. -1
jwenting 1,905 duckman Team Colleague
bigsurya 0 Newbie Poster
BestJewSinceJC 700 Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.