Example Presentation

  • 1,728 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,728
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Inheritance
  • 2. InheritanceOOP supports inheritance • similar classes can share a parent and override features • improves modularity, avoids duplication • classes can only have one parent (unlike some other languages) • classes can have many children • there can be as many generations of inheritance as we need 14