1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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,285
    Likes Received:
    364
    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