Try this exercise. Click the correct answer from the options.
What does the toString()
method do in the previous code?
Click the option that best answers the question.
- Finds the average of all the vertices in the matrix
- Counts the total of all vertices in the matrix
- Returns a String containing all the attributes of the matrix
- Stores the name of the matrix in a String