J
Jean-Benoit MORLA
Hi,
I would like to print using System.err.println() the charasteristics of a thread.
My code includes a "main" method which starts three threads.
In the "run" method I try to insert the "toString()" call but I
get "Non static method toString() cannot be referenced from a static
context.
Is there a way around this?
Many thanks for your reply.
I would like to print using System.err.println() the charasteristics of a thread.
My code includes a "main" method which starts three threads.
In the "run" method I try to insert the "toString()" call but I
get "Non static method toString() cannot be referenced from a static
context.
Is there a way around this?
Many thanks for your reply.