hi all,
i am searching for an answer .. there are 2 ways of creating threads ..
1. extending Thread class
2. implementing Runnable

but , it is always better to implement runnable .. i know 1 good reason for that ..
ie. u have an option to extend another class if u implement Runnable interface .. as u 
can extend one class only ..

is there any other reason for implementing Runnable ?? is it because composition is 
always better than inheritance ..

==========================================================================To 
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to