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, 7214👍, 0💬
Popular Posts:
Can we have shared events ? Yes, you can have shared event’s note only shared methods can raise shar...
How Can we change priority & what levels of priority are provided by Dot Net? Thread Priority ca...
How can I enable session tracking for JSP pages if the browser has disabled cookies? We know that se...
Can you explain in GSC and VAF in function points? In GSC (General System Characteristic) there are ...
How do we generate strong names ? or What is use the of SN.EXE ? or How do we apply strong names to ...