Class data
Variables declared within the class using my will remain within the class. They won't be associated with any of the objects. Methods of the class will be able to access them.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
Variables declared within the class using my will remain within the class. They won't be associated with any of the objects. Methods of the class will be able to access them.