impact on Java performance

Discussion in 'Java' started by kachabi, Jul 5, 2007.

  1. kachabi

    kachabi New Member

    Joined:
    Jul 5, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    I want to use extends Thread instead of implements Runnable..pls tell me what will be the impact of this on java performance?
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    I am not a Java guru but it does not impact the performance but as you cannot inherit the class from anything else it has disadvantages.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice