+ 1

main method syntax

In this line of code, public static void main(String[] args){ Should we always mention String[] only? What is the use of that? and what happens if we use others?

28th Jan 2017, 3:02 AM
tharun surya dwivedula
tharun surya dwivedula - avatar
2 Respostas
+ 1
You always need to use the String[] args in the main argument
8th Feb 2017, 6:56 AM
WALL_BUILDER
WALL_BUILDER - avatar
+ 1
Yeah.. but what does it signify?
8th Feb 2017, 8:15 AM
tharun surya dwivedula
tharun surya dwivedula - avatar