Search:

Type: Posts; User: helloworld922

Search: Search took 0.07 seconds.

  1. Re: Overriding Object's toString() method outside of their class

    The wrapper object would contain the original object, just create a method that would direct you to that object.
  2. Re: Overriding Object's toString() method outside of their class

    Yes, that code creates an Anonymous class which extends the GregorianCalendar class.
  3. Re: Overriding Object's toString() method outside of their class

    You can't "temporarily" override a method, and I don't know of any way to override a method from another class.

    Probably the most versatile and simplest solution I can think of is to create your...
Results 1 to 3 of 3