Here it prints a subclass of go, Instead I have to type a superclass of go
Well, then do not override the go method @subclass method, it will call the implementation of the superclass.
If you want to run a super implementation and have another additional @subclass class, you call super.go (); and then run some other statements.
This is normal, since you are reusing already written code, you should not copy-paste the code from the superclass and put it in subtitles, like duplicating the code. But if your goal is to completely change the behavior, then do not call super
Eee
source share