0
main method takes an array of strings as parameter but it is not called from any method so how can it takes parameters?
1 Odpowiedź
0
Main is a static function/method , and second when you declare
psvm(String[] a)
You declare that your program is going to store the data inserted by the user in the form of Strings and not bit by bit like C
We do use parameters by using Command Line Input which is used as a self test by the Programmer