Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Runable Interface and Thread
What is more advisable to create a thread, by implementing a Runnable interface or by extending Thread class?
✍: FYIcenter
Strategically speaking, threads created by implementing Runnable interface are more advisable. If you create a thread by extending a thread class, you cannot extend any other class. If you create a thread by implementing Runnable interface, you save a space for your class to extend another class now or in future.
2007-03-03, 7055👍, 0💬
Popular Posts:
What is a measure in OLAP ? Measures are the key performance indicator that you want to evaluate. To...
How to reduce the final size of an executable file? Size of the final execuatable can be reduced usi...
What's the difference between J2SDK 1.5 and J2SDK 5.0? There is no difference, Sun Microsystems just...
How To Change the Password of Another User Account? - MySQL FAQs - Managing User Accounts and Access...
How To Test Transaction Isolation Levels? - MySQL FAQs - Transaction Management: Commit or Rollback ...