15.8 The Object Methods

     

The URLConnection class overrides only one method from java.lang.Object , toString( ) :

 public String toString( ) 

Even so, there is little reason to print a URLConnection object or to convert one to a String , except perhaps if you are debugging. toString( ) is called the same way as every other toString( ) method.



Java Network Programming
Java Network Programming, Third Edition
ISBN: 0596007213
EAN: 2147483647
Year: 2003
Pages: 164

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net