1. Engineering
  2. Computer Science
  3. describes what happens when compiling helloworldjava and executing it if...

Question: describes what happens when compiling helloworldjava and executing it if...

Question details

Describes what happens when compiling HelloWorld.java and executing it (if it compiles fine) in the following cases

(a) HelloWorld is misspelled as HelloWord.

(b The word static is omitted.

(c) The word args is omitted.

(d) A ; is inserted before the System.out.println statement.

(e) A ; is inserted after HelloWord and before {.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution