Sunday, February 10, 2013 Class Hierarchy Diagram

Diagram sources: cheat sheet for SCJP:
(from book SCJP Sun Certified Programmer for Java 6 Exam 310-065)

Example for using these constructors:
How to read lines from a text file, display them and close all resources?

  BufferedReader reader= new BufferedReader (new FileReader(new File("file.txt")));
  String line=null;
  while( (line=reader.readLine())!=null){
}catch(Exception e){}

For other package diagrams, check

No comments:

Post a Comment