7.6k views
2 votes
If there is a single line inside of an loop/if-statement, brackets are required around the loop/if-statement according to the Google Java Style Guide.

True/False

User Tzl
by
6.4k points

1 Answer

4 votes

Answer:true

Step-by-step explanation:

  • there is no line before opening brackets.
  • Line break after the closing brackets, only if that bracket ends a statement.

User Shamsul Arefin
by
6.7k points