What is a best practice to follow when writing clean code?单项选择题

A

Each method in a program should accomplish at least two tasks.

B

There should be no spaces between the math operators and the variables used in each calculation.

C

There should be one common indentation for a class, a method, a loop, and a decision.

D

The names of variables should be noun-like, and the names of methods should be verb-like.

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!