Ask Question
10 August, 14:38

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

+2
Answers (1)
  1. 10 August, 18:29
    0
    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.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Java uses a right brace to mark the end of all compound statements. What are the arguments for and against this design? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers