Reviews
  Home arrow Reviews arrow Page 3 - Book Review: Ground-Up Java by Philip Hell...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
REVIEWS

Book Review: Ground-Up Java by Philip Heller
By: Simon White
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 2 stars2 stars2 stars2 stars2 stars / 26
    2003-12-31

    Table of Contents:
  • Book Review: Ground-Up Java by Philip Heller
  • Part 1: Introduction to Programming
  • Part 2: Introduction to Object-Oriented Programming
  • Part 3: Core Java Packages and Using Java in Practice
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Book Review: Ground-Up Java by Philip Heller - Part 2: Introduction to Object-Oriented Programming


    (Page 3 of 5 )

    Chapters 7 through 11 introduce the concepts of object-oriented programming, so here’s where you’ll meet such fashionable terms as inheritance, construction, overriding, overloading and polymorphism. The book explains the idea of data hiding and shows how a Java program can be structured into packages. It also shows how interfaces are useful in an OO language without multiple inheritance.

    Chapter 11 covers a topic that is probably too often overlooked - exceptions. The principles of the topic are particularly well explained. However, I have one minor gripe on the accuracy of the text. Heller states ‘All exception subclasses in the core Java packages have two forms of constructors: a no-arguments version, and a version that takes a text message as an argument.’ Although this was true up until Java 1.3, Java 1.4 added two more constructors to the Exception class. There is now a constructor that accepts a Throwable as the cause of the Exception, and another that accepts both a message String and a Throwable cause. (Compare Sun’s JavaDoc for the Exception class in Java 1.3 with that for Java 1.4.) The advantage of these two new constructors is that you can partially deal with an Exception, and then re-throw it, if necessary constructing a different Exception class when you re-throw it.

    For example,


    try {
     oldMotherHubbard
    .getBoneFrom(cupboard);
    } catch (BareCupboardException bce) {
     String msg 
    bce.getMessage();
     System
    .out.println(“Bare Cupboard Exception+msg);
     
    throw new ResourceNotFoundException(msgbce);
    }

    More Reviews Articles
    More By Simon White


     

    REVIEWS ARTICLES

    - Super Styling with a Dedicated CSS Editor
    - Book Review: Ground-Up Java by Philip Heller
    - Book Review: Winning E-Brand Strategies: Dev...
    - New Technologies and What They Mean To You: ...
    - Review: Namo WebEditor 5






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
    Stay green...Green IT