Answer to Question #65900 in Java | JSP | JSF for Frank
public String toString()
@return a string representation of the node
1
2017-03-06T14:00:06-0500
For example, if class has that structure:
public class Node<T>{
public T node;
}
than toString() method will looks like:
@Override
public String toString(){
return “Node: “ + node;
}
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
JavaJSPJSF
Comments
Leave a comment