Overriding a method...

Posted by Godcode on Stack Overflow See other posts from Stack Overflow or by Godcode
Published on 2010-05-27T04:41:59Z Indexed on 2010/05/27 4:51 UTC
Read the original article Hit count: 195

Filed under:
public class Testing extends JDialog {

    public MyClass myClass;

    public Testing() {

    }
}

given the above code, is it possible to override a method in myClass in Testing class?

say myClass has a method named computeCode(), will it be possible for me to override it's implementations in Testing? sorry it's been a long time since I've coded.

© Stack Overflow or respective owner

Related posts about java