Jump to content

Abstract type: Difference between revisions

Line 107:
 
=={{header|Genyris}}==
In Genyris by default there are no constructors. andIn effect all classes are assignedAbstract tountil objectsthey post-natal.are Inused effectto alltag defaultan classes are Abstractobject.
<lang python>class Stack()</lang>
There is no constructor for the class. However to prevent the class ever being associated with an instance it suffices to force the validator to fail.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.