Question PRG-JAVA-0002
EasyWhich method is the entry point of a Java application?
- A.
void run(String args)
- B.
static int main()
- C.
public static void main(String[] args)
- D.
public void start()
Show answer and explanation
Answer: C
The JVM looks for this exact signature to start the program.