File:Inheritance covariant return animalshelter.svg

Original file ‎(SVG file, nominally 246 × 265 pixels, file size: 6 KB)

Summary

Description Covariant inheritance in Object-oriented languages. The return type of an overriding method can be more specific than in the superclass. In this example, a CatShelter only gives out cats.
Date
Source Own work
Author en:User:Vilhelm.s
Other versions Image:Kovarianz Vererbung.svg, Image:Inheritance_covariant_return.svg
I, the copyright holder of this work, hereby publish it under the following license:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

copyright status

copyrighted

copyright license

GNU Free Documentation License, version 1.2 or later

inception

22 June 2014

source of file

original creation by uploader

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current00:05, 23 June 2014246 × 265 (6 KB)Vilhelm.s== {{int:filedesc}} == {{Information |Description=Covariant inheritance in Object-oriented languages. The return type of an overriding method can be more specific than in the superclass. In this example, a CatShelter only gives out cats. |Source={{Own}...
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Global file usage

The following other wikis use this file:

  • Usage on fa.wikipedia.org
    • هم‌وردایی و پادوردایی (علوم رایانه)

Metadata

Retrieved from "https://en.wikipedia.org/wiki/File:Inheritance_covariant_return_animalshelter.svg"