Constructors in cases of inheritance (Squeak) -


I have class A that comes from B, contains a bunch of legacy parameters, and these two Basic values ​​should be started (whether we create an object or a B object). I decided to initialize the constructor of A, because A. should be made before the formation of B. However, it does not appear to be happening automatically, and I did not understand how to call the Super Constructor manually. Can somebody help me out?

You have already got the solution, but here are some more notes that will help you to understand your question better Can help you with

  • super like , they both represent the receiver of the message.
  • initiates the look of the following message in the receiver of the message itself .
  • Super starts the look of the following message in the Superclass where the implementation method is determined
  • self and super No messages, but inherent variables, for which you can not find them in the message finder.

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -