Main Method In Java Tutorial #57

Veröffentlicht am: 05 März 2020
auf dem Kanal: Alex Lee
120,610
3.6k

$1,000 OFF ANY Springboard Tech Bootcamps with my code ALEXLEE. See if you qualify for the JOB GUARANTEE! 👉 https://bit.ly/3HX970h

When you click run, the code inside the main method in java gets run. This lets you control how the program behaves. The String[] args means that it can use an array of strings as arguments from the run command. For example:

java main hello dude

now args is an array with {"hello", "dude"}

I hope this helps you with the main method in java :) At first, I had no idea what String[] args was, how to pass parameters into the main method, or even what the keywords in front of the main method were.

I hope you enjoyed this main method in java tutorial! -

Full Java Tutorial For Beginners Playlist:    • Full Java Course by Alex Lee  
Free Tips: https://bit.ly/3U6HXcb

Disclosure: The Springboard link provided is linked to my affiliate account & supports the channel.

~

Alex Lee


Auf dieser Seite können Sie das Online-Video Main Method In Java Tutorial #57 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Alex Lee 05 März 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 120,610 Mal angesehen und es wurde von 3.6 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!