0

Typo?

Not sure if it’s a typo for class B for the Java course’s classes & objects lesson quiz, but it’s written as: class B { public static void main(String args[ ]) { ... } Shouldn’t it be this instead?: class B { public static void main(String[ ] args) { ... }

21st May 2019, 3:59 AM
None Av
2 Answers
+ 1
Both ways are identical, semantically.
21st May 2019, 7:20 AM
Prokopios Poulimenos
Prokopios Poulimenos - avatar
0
Cool, thanks for letting me know. Much appreciated!
21st May 2019, 1:52 PM
None Av