File:Non-virtual interface pattern.svg
![File:Non-virtual interface pattern.svg](https://upload.wikimedia.org/wikipedia/commons/thumb/9/9c/Non-virtual_interface_pattern.svg/238px-Non-virtual_interface_pattern.svg.png?20230517113513)
Original file (SVG file, nominally 238 × 258 pixels, file size: 6 KB)
Captions
Captions
Summary
[edit]DescriptionNon-virtual interface pattern.svg |
English: A class named Customer which inherits from the abstract class Saveable.
When the Save method which is inherited from the abstract Saveable class is called on the Customer class invokes the CoreSave method which is declared as abstract in the abstract class and hence implemented in the Customer class. |
Date | |
Source | Own work |
Author | Frap |
Licensing
[edit]![]() ![]() |
This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. |
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
Source code
[edit]PlantUML source code.
@startuml abstract class Saveable { + void Save() # {abstract} void CoreSave() } class Customer extends Saveable { + string Name + decimal Credit # override void CoreSave() } Saveable::CoreSave --> Customer::CoreSave @enduml
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 11:35, 17 May 2023 | ![]() | 238 × 258 (6 KB) | Frap (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on en.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 238px |
---|---|
Height | 258px |