Computer Science, asked by swetashahdeo123, 6 months ago

in this statement public static void main ( ) , what is the role of void.​

Answers

Answered by sarthak688
0

Answer:

sorry don't know.........

Answered by nancyanniejohn6
2

Every word in the public static void main statement has got a meaning to the JVM. Public: It is an Access modifier, which specifies from where and who can access the method. ... As main() method doesn't return anything, its return type is void. As soon as the main() method terminates, the java program terminates too.

Similar questions