JavaRush /Java Blog /Random EN /How to write code correctly?
Morituros
Level 8

How to write code correctly?

Published in the Random EN group
Hello. How to put parentheses correctly: 1. public class Cat { .... } or 2. public class Cat { .... } Actually, you can do it either way, but somewhere I heard that it is correct (preferably) to write 1 option in java. And while I had not yet developed a coding style, I decided to find out how to do everything correctly. And then I wouldn’t want to hear grumbling from my colleagues :)
Comments
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION