0
Object Oriented Programming  Lecture 2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Delegation <ul><li>Delegation refers to the delegating of responsibility and can be applied to inheritance  </li></ul><ul>...
 
 
 
 
Upcoming SlideShare
Loading in...5
×

Lect2

385

Published on

Object oriented programming

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
385
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Lect2"

  1. 1. Object Oriented Programming Lecture 2
  2. 29. Delegation <ul><li>Delegation refers to the delegating of responsibility and can be applied to inheritance </li></ul><ul><li>When a derived class does not have a desired attribute, it &quot;delegates&quot; responsibility to one of its base classes </li></ul><ul><li>In delegation systems, each object has a delegate list instead of a parent list </li></ul><ul><li>delegation's primary emphasis is on message passing where an object could delegate responsibility of a message it couldn't handle to objects that potentially could (its delegates). </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×