What is true about coding style? Logical blocks of code should be separated by o
ID: 3674338 • Letter: W
Question
What is true about coding style?
Logical blocks of code should be separated by one blank line. Logical sections of code, like method definitions, should be separated by five blank lines.
When possible, use enumerated types to make code more readable.
wo of the other answers are correct.
If you are unsure about your code having an appropriate amount of comments, then to be safe you should comment every line.
Exactly three of the other answers are correct.
A.Logical blocks of code should be separated by one blank line. Logical sections of code, like method definitions, should be separated by five blank lines.
B.When possible, use enumerated types to make code more readable.
C.wo of the other answers are correct.
D.If you are unsure about your code having an appropriate amount of comments, then to be safe you should comment every line.
E.Exactly three of the other answers are correct.
Explanation / Answer
Ans: Exactly three of the other answers are correct.
Logical blocks of code should be separated by one blank line. Logical sections of code, like method definitions, should be separated by five blank lines.
When possible, use enumerated types to make code more readable.
If you are unsure about your code having an appropriate amount of comments, then to be safe you should comment every line.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.