ݺߣ

ݺߣShare a Scribd company logo
Java SE Lesson 11



1. νԶ쳣ͨǶһ̳ Exception ࣬ô
   һԶ쳣ࡣͨ£ǶֱӼ̳ Exception ࣬һ㲻̳
   ijʱ쳣ࡣ
2. ǿʹö catch 쳣ʱҪ͵ catch ŵ͵
   catch ܱ֤֮ catch ִܱУ͵ catch Զ
   ޷Java ᱨ catch 쳣Ƕ
   (MyException, MyException2) ô˭ǰ˭ǿԵġ
3.  try д return 䣬ôҲҪ finally еĴִϣȻ
   󷽷ٷء
4.  try д System.exit(0)䣬ôͲִ finally еĴ룬Ϊ
   System.exit(0)ֹǰе Java ֹǰִС
                               ͼû档
5. GUIGraphical User Interface
6. AWTAbstract Window Toolkit 󴰿ڹ߼һ Java GUI 
   ġ
7. Swingڵײϸڣ

More Related Content

[ʥ˼԰][Java SE]Java se lesson 11

  • 1. Java SE Lesson 11 1. νԶ쳣ͨǶһ̳ Exception ࣬ô һԶ쳣ࡣͨ£ǶֱӼ̳ Exception ࣬һ㲻̳ ijʱ쳣ࡣ 2. ǿʹö catch 쳣ʱҪ͵ catch ŵ͵ catch ܱ֤֮ catch ִܱУ͵ catch Զ ޷Java ᱨ catch 쳣Ƕ (MyException, MyException2) ô˭ǰ˭ǿԵġ 3. try д return 䣬ôҲҪ finally еĴִϣȻ 󷽷ٷء 4. try д System.exit(0)䣬ôͲִ finally еĴ룬Ϊ System.exit(0)ֹǰе Java ֹǰִС ͼû档 5. GUIGraphical User Interface 6. AWTAbstract Window Toolkit 󴰿ڹ߼һ Java GUI ġ 7. Swingڵײϸڣ