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 odpowiedzi
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