102k views
4 votes
You are writing a program using the Java language. Which of the following is a requirement of Java syntax?

Each statement must use sentence case.
Each statement must use the name of the program.
Each statement must begin with an operator symbol.
Each statement needs to end in a semicolon.

1 Answer

8 votes

Answer:

The answer to this question is given below in the explanation section.

Step-by-step explanation:

"D" option is correct

"Each statement needs to end in a semicolon."

semicolon must use in program.without semicolon program doesn't accept.so each statement needs to end in a semicolon.

User David Bodow
by
5.4k points