head first java second edition phần 6 docx

68 325 0
head first java second edition phần 6 docx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

exceptions are objects A" exceptio" is a" object of type Exceptio"_ Which is fortunate, because it would be much harder to remember if exceptions were of type Broccoli Remember from your polymorphism chapters that an object of type Exception can be an instance of any subclassof Exception Because an Exception is an object, what you catch is an object In the following code the catch argument is declared as type Exception, and the parameter reference variable is ex, Throwable try { getMeasage{) I I risky th J nq printStackTraceO Part J t'he 'e.~.Ltyt.\ OYI dass ~lleYaYl.n l T'IIl'/ all T\I't"owa'ble two \I.e'( 61'10 il'lheY'It t~~O l.\ass ~a T II } >

Ngày đăng: 12/08/2014, 19:20

Từ khóa liên quan

Mục lục

  • 12 A Very Graphic Story: intro to GUI, event handling, and inner classes

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan