What is self?
Ans. self refers to the receiver of the message. It is usually used within a method to send additional messages to the receiver. self is frequently= used=20 when it is desired to pass the sender object (self), as a message argument,= =20 to a receiver who requires knowledege of the sender or who will in some way= =20 manipulate the sender.
self refers to the receiver of the message. It is usually used within a method to send additional messages to the receiver. self is frequently used when it is desired to pass the sender object (self), as a message argument, to a receiver who requires knowledege of the sender or who will in some way manipulate the sender.
Ans. self refers to the receiver of the message. It is usually used within a method to send additional messages to the receiver. self is frequently used when it is desired to pass the sender object (self), as a message argument, to a receiver who requires knowledege of the sender or who will in some way manipulate the sender.