Hi

Can anyone recognise if this is a valid toString method?

public String toString()
{
System.out.println("Tom ");
}

cheers