toString() isn't supposed to be a static method. When you call
x.toString(), you're accessing x's non-static version of toString(), which
is inherited from Object.
-- Walt
ivansh ([EMAIL PROTECTED]) wrote:
> For one java class (Hello) i use another (HelloPrinter) to build the
> string represen
ivansh wrote:
> Hello,
>
> For one java class (Hello) i use another (HelloPrinter) to build the
> string representation of the first one. When i've tried to use this
> from within jython, HelloPrinter.toString(hello) call gives results
> like Object.toString() of hello has being called. The exam