diff options
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlootut.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlootut.pod b/pod/perlootut.pod index b2e3500b35..112d2ee910 100644 --- a/pod/perlootut.pod +++ b/pod/perlootut.pod @@ -218,8 +218,8 @@ Polymorphism is one of the key concepts of object-oriented design. =head2 Inheritance B<Inheritance> lets you create a specialized version of an existing -class. Inheritance lets the new class to reuse the methods and -attributes of another class. +class. Inheritance lets the new class reuse the methods and attributes of +another class. For example, we could create an C<File::MP3> class which B<inherits> from C<File>. An C<File::MP3> B<is-a> I<more specific> type of C<File>. |