Jump to content

Abstract type: Difference between revisions

m
Tweak irregular header markup
(added ReScript)
m (Tweak irregular header markup)
Line 532:
</lang>
 
=={{header|C sharp|C#}}==
<lang csharp>abstract class Class1
{
Line 2,386:
Queue = {New BaseQueue init} %% throws</lang>
 
=={{header|PARI/GP}} ==
GP is not object-oriented and cannot sensibly use abstract types. PARI can use the same solution as [[#C|C]].
 
=={{header|Pascal}} and {{header|Object Pascal}} ==
In ObjectPascal mode FreePascal has classes and abstract methods.
 
10,333

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.