Anonymous user
Abstract type: Difference between revisions
→{{header|Smalltalk}}
Line 2,949:
someClass class >> new
^ self error:'trying to instantiate an abstract class'
].
^ super new
someClass >> method1
|
Line 2,949:
someClass class >> new
^ self error:'trying to instantiate an abstract class'
].
^ super new
someClass >> method1
|