Which do you write first eg static int() or the entry main statement.... Public static void main.... | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Which do you write first eg static int() or the entry main statement.... Public static void main....

8th Feb 2017, 6:03 AM
Tochukwu
Tochukwu - avatar
3 Antworten
0
By default, the compiler reads the main function first.
8th Feb 2017, 7:02 AM
WALL_BUILDER
WALL_BUILDER - avatar
0
so it doesn't matter which you write first?
8th Feb 2017, 7:19 AM
Tochukwu
Tochukwu - avatar
0
It doesn't matter, but most of the the times you will find that main is placed at last
8th Feb 2017, 7:24 AM
WALL_BUILDER
WALL_BUILDER - avatar