Is there a coding standard for Java?

后端 未结 4 993
小鲜肉
小鲜肉 2021-01-20 22:56

I can develop an application/project. But that is not in the correct coding standard. it takes large memory and others can not be understand it easily. What the General Stan

4条回答
  •  既然无缘
    2021-01-20 23:00

    http://www.oracle.com/technetwork/java/codeconvtoc-136057.html

    If a project you're already working on has coding standards defined, use that. Otherwise, you can follow standards like the one I linked above and make sure you're consistent in using it. It'll help make your programs readable for yourself and others.

提交回复
热议问题