Answer to Question #65900 in Java | JSP | JSF for Frank

Question #65900
public String toString()
@return a string representation of the node
1
Expert's answer
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS