Learn Java Programming - Main Method Parameter and Arguments Tutorial

Published: 03 August 2015
on channel: Daniel Ross
6,645
51

The main method is the entry point for a class invoked from the java command line tool. In the main method signature there is string array enclosed in a pair of parenthesis, (String args[]). What is its purpose? When we invoke a class using the java command line tool, we can pass our program information at the time the program is run. We do this by adding a list of arguments after the java className syntax.


On this page of the site you can watch the video online Learn Java Programming - Main Method Parameter and Arguments Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Daniel Ross 03 August 2015, share the link with friends and acquaintances, this video has already been watched 6,645 times on youtube and it was liked by 51 viewers. Enjoy your viewing!