Abstract type: Difference between revisions

m
m (Typos)
m (→‎Abstract type: Typo fixed)
Line 24:
Abstract types may provide components and implementation of their operations. Abstract types are singly inherited.
<ada>
with Ada.Finalization.Limited_Controlled;
...
type Node is abstract new Ada.Finalization.Limited_Controlled and Queue with record