File:Non-virtual interface pattern.svg

Original file (SVG file, nominally 238 × 258 pixels, file size: 6 KB)

Summary

Description
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

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero 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.

Source code

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

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

17 May 2023

image/svg+xml

File history

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

Date/TimeThumbnailDimensionsUserComment
current11:35, 17 May 2023Thumbnail for version as of 11:35, 17 May 2023238 × 258 (6 KB)FrapUploaded own work with UploadWizard

The following page uses this file:

Metadata