I recently started learning Java and i came across a statement including (ActionEvent e ).
What does e mean and is it a standard? Or can we use anything else in place of e? Because when I change this by any other variable, it still works.
Is e an instance of ActionEvent?
It's just a parameter, so you can replace it with any letter or word you want. It's so common though, since most of the automatically generated actionevents would generate the parameter 'e'.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With