El método toString no toma argumentos y debería devolver una cadena.
The toString() method takes no arguments and should return a string.
Si la prueba no tuvo éxito reporta en toString() ese hecho.
If the test is not successful reports in toString() this fact.
Puede trabajar sobre esta limitación de una manera genérica utilizando toString().
You can work around this limitation in a generic fashion by using toString().
Por lo tanto, simplemente se llama el toString () método en la clase.
So, it simply called the toString() method on the class.
El método toString tiene la siguiente estructura
The toString method has the following structure
Llamar al método toString() devuelve el texto contenido en la selección, e.j.
Calling the toString() method returns the text contained in the selection, e.g
Recomiendo implementar toString() siempre en sus clases, aunque sea solo por propósitos de soporte.
I recommend always implementing toString() in your classes, if only for support purposes.
Por ejemplo, otros prototipos de los constructores sobrecargan la propiedad del constructor y proporcionan su propio método toString().
For example, other constructors' prototypes override the constructor property and provide their own toString methods.
La forma más sencilla de hacer esto es llamar al método toString() del objeto
The easiest way to do that is to call the object's toString() method
La implementación predeterminada de toString() no es muy útil pero cada objeto tiene una.
The default implementation of toString() isn't especially useful, but every object has one.
Esto es fácil de usar, y proporciona una mejora de rendimiento cuando los valores tienen métodos costosos toString().
This is simple to use yet provides a performance benefit when the values have expensive toString() methods.
Primero se obtiene la fecha actual en una variabe, luego se convierte a texto y se le da el formato requerido utilizando la función toString.
First the current date is obtained in a variable, then this date is formatted and converted by using the toString function.
El método toString() retorna una cadena representando el código fuente de la función.
The toString() method returns a string representing the specified array and its elements.