Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Oca java7 ch8910

222 views

Published on

JDK 7.0 presentation on polymorphism, exception handling changes and class relationships.

Published in: Software
  • Be the first to comment

  • Be the first to like this

Oca java7 ch8910

  1. 1. Chapters 8-10: OCA Java SE7 Programmer I study guide By Ajit Skanda Kumaraswamy
  2. 2.  What does it mean?  How is it useful?  Examples
  3. 3.  What is an Exception?  What is an Error?  Class Throwable  Examples
  4. 4.  Creating Exceptions.  Throwing Exceptions.  Propagating Exceptions.
  5. 5.  Try-catch  Try-catch-finally  Try-finally  Try-with-resources  Multi-catch clause
  6. 6.  What is an error?  How is it different from an Exception?  Common Errors:  AssertionError.  ExceptionInInitializeError.  VirtualMachineError.  OutOfMemoryError.  NoClassDefFoundError.
  7. 7.  What is a composition relationship?  What is an association relationship?  Differences.
  8. 8.  Direct Association (Truck -Trailer)  Composition Association (Tire - RubberStrips)  Aggregation Association (Motorcycle - Windsheild)  Temporary Association (Car - key)
  9. 9.  One to One (Motorcycle - Engine)  One to Many (Car - Tyres)  Many to Many (Cars - TrafficLights)  One to One (Tyre - TyrePressure)  One to Many (Car - Gears)
  10. 10. Thank you

×