Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 1
A property exposes a field - it's generally good practice to make fields private and expose them to other classes through get and set methods. A method is basically a function, it can take 0 or more parameters and then executes a section of code when it is called.
An event is like something that happens, maybe a user click, which triggers something else happening, for example a method call