December 2018
Beginner to intermediate
668 pages
15h 30m
English
Methods are often described as actions that an object can do. For example, a List class can add an item to itself or clear itself.
Events are often described as actions that happen to an object. For example, in a user interface, Button has a Click event, click being something that happens to a button.
Another way of thinking of events is that they provide a way of exchanging messages between two objects.
Read now
Unlock full access