employer cover photo
employer logo
employer logo

INRY (IntegRhythm Inc)

Questa è la tua azienda?

Domanda di colloquio di INRY (IntegRhythm Inc)

can we write "public static void main()" as " void public static main()" ?

Risposte di colloquio

Anonimo

18 feb 2018

No.

Anonimo

3 giu 2019

No. Because public - so that any class can access it static - so that the JVM can access it without the need to instantiate the class object void - because it does not return anything main - this is just the method name. public - so that any class can access it static - so that the JVM can access it without the need to instantiate the class object void - because it does not return anything main - this is just the method name.

Anonimo

3 giu 2019

No public - so that any class can access it static - so that the JVM can access it without the need to instantiate the class object void - because it does not return anything main - this is just the method name. public - so that any class can access it static - so that the JVM can access it without the need to instantiate the class object void - because it does not return anything main - this is just the method name.