Wednesday, November 29, 2006

My java readings for today!

Some of the things I read today include following:
  • Always close IO streams.
  • Model Objects: Core problem domain objects.
  • IO buffering usually appropriate. Prefer IO buffering. Java IO classes for buffering are BufferedReader and BufferedWriter
  • Checked and unchecked exceptions: Checked exceptions are those which are, simply speaking, out of immediate control. For example, FileNotFoundException or network, database problem based exception. They need to be caught or passed to upward classes for compilation to happen successfully. Classes must oblige with checked exceptions. Unchecked exceptions are exceptions generated due to bad programming. Examples are ClassCastException, NullPointerException etc. Class need not to oblige with unchecked exceptions.
 

0 Comments:

Post a Comment

<< Home