Search:

Type: Posts; User: mekie

Search: Search took 0.18 seconds.

  1. Replies
    4
    Views
    1,731

    Re: Override class method

    I'm just allowed to change Mutated.java . Is there a way to do it?
  2. Replies
    4
    Views
    1,731

    Re: Override class method

    Main.java

    public class Main {
    public static void main(String[] args) throws Exception {
    Original object = new Original();
    System.out.print(object.doit());
    }
    }

    Original.java
  3. Replies
    4
    Views
    1,731

    Override class method

    Hello

    I have a external jar library that has many classes and methods. My question is, how can I rewrite a existing method without changing the library?

    Ex:

    (External jar)
    Class Original{...
Results 1 to 3 of 3