ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Five Favorite Features from 5.0
Subject:   IF Closeable
Date:   2005-07-29 18:50:04
From:   ca_sel
Not all classes, which have a close() method implement the Closeable Interface. Streams, Writer, Channels, Formatter and RandomAccessFile do, but Socket, Connection, Statement and others don't. Why is this so?