Java Package

© examsiri.com
Question : 2 of 16
 
Marks: +1, -0
Given this method in a class:
1. public String toString() {
2.   StringBuffer buffer = new StringBuffer();
3.   buffer.append('<');
4.   buffer.append(this.name);
5.   buffer.append('>');
6.   return buffer.toString();
7. }

Which statement is true?
Go to Question: