Well, the result that came out of the main() that I showed was certainly incorrect, but I was trying to answer your question about how to display the rational number, not how to get the correct...
Type: Posts; User: Zaphod_b
Well, the result that came out of the main() that I showed was certainly incorrect, but I was trying to answer your question about how to display the rational number, not how to get the correct...
I don't have that book, but here is what I found browsing through a description of the String class at the Java Docs Mother ship: Description of String.toString() method:
"toString---Returns a...