Which of the following statements is correct?

a. Every line in a program must end with a semicolon.
b. Every statement in a program must end with a semicolon.
c. Every comment line must end with a semicolon.
d. Every method must end with a semicolon.
e. Every class must end with a semicolon.

b. Every statement in a program must end with a semicolon.

Computer Science & Information Technology

You might also like to view...

Which of the following statement is true in reference to the report Detail section?

A) The Detail section repeats for every record in the record source. B) The Detail section appears at the top of a report. C) The Detail section prints the value of each unique instance for a grouped field. D) The Detail section holds the report title, the organization's name, and the company logo.

Computer Science & Information Technology

Data macros are used to ensure the accuracy of data in a(n):

A) stand-alone macro. B) table. C) report. D) embedded macro.

Computer Science & Information Technology