In the section "Examples of Invalid Main method", the #3, is the verbiage accurate?
It reads "Invalid because it DOESN'T take EXACTLY ONE parameter of type String array".
[HD Pg 0, Sec. 2.1.1 - the-main-method]
Moderator: admin
-
- Posts: 3
- Joined: Sat Dec 21, 2019 1:10 pm
- Contact:
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: [HD Pg 0, Sec. 2.1.1 - the-main-method]
It looks fine. The given method has a String[] parameter, which is good but it also has a second String parameter, which is the problem.
Who is online
Users browsing this forum: No registered users and 5 guests