Kenzie4633 Kenzie4633
  • 24-09-2019
  • Computers and Technology
contestada

Java uses a right brace to mark the end of all compound statements. What are the arguments for and against this design?

Respuesta :

ExieFansler ExieFansler
  • 26-09-2019

Explanation:

The argument is for the right braces.The right braces are used for simplicity.The right brace always terminates a block of code or a function.

The argument against right brace is that when we see a right brace in a program,we are not obvious about the location of the corresponding left brace because all or multiple  statement end with a right brace.

Answer Link

Otras preguntas

The area of a rectangular wall of a barn is 40 square feet. Its length is 6 feet longer than the width. Find the length and width of the wal of the barn.
translate each phrase into a variable expression. use n for the variable
The graph of a function must be linear if it has what characteristic?
How do you find the surface area of a triangular prism.
Is known as the turning point of the civil war.
Why did the Chinese lose the Opium War? A. Chinese troops mutinied B. Typhoon winds destroyed the Chinese naval fleet C. Chinese weapons were no match for Briti
81 is 45% of what number
FeCl3(aq) + Na3PO4(aq) --> FePO4(s) + NaCl(aq) [unbalanced]
Replace ? with =, >, or < to make the statement true. 3 • 12 – 12 ? 3 • [26 – 2 • (3 + 6)] A = B > C
Omelets take 2 eggs. Order is for 8 fried eggs and 8 omelets. Total eggs?