$1,000 OFF ANY Springboard Tech Bootcamps with my code ALEXLEE. See if you qualify for the JOB GUARANTEE! 👉 https://bit.ly/3HX970h
You can give methods variables! These are called method parameters. In java, you can add parameters to a method like this:
myMethod(int a, String b) {}
a and b can be any type of object or variable. This makes methods very flexible!
I hope you enjoyed this method parameters tutorial!
Full Java Tutorial For Beginners Playlist: • Full Java Course by Alex Lee
Free Tips: https://bit.ly/3U6HXcb
Disclosure: Springboard link provided is linked to my affiliate accounts & supports the channel.
~
Alex Lee