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 :)
GO TO FULL VERSION