Pergunta de entrevista da empresa Bridgenext

Use of static keyword in main method in Java

Resposta da entrevista

Sigiloso

2 de ago. de 2021

static keyword means the method can be called without creating any objects first. If there are multiple constructors with in the class that resides main, then it might lead to ambiguity, do the main function is static

2