Does the Java 'final' keyword actually improve security?

前端 未结 12 907
遥遥无期
遥遥无期 2021-01-07 19:07

While there are many reasons to use the \'final\' keyword in Java, one of the ones I keep hearing over and over again is that it makes your code more secure. While this seem

12条回答
  •  我在风中等你
    2021-01-07 19:23

    I am pretty sure final is a design construct in much the same way access modifiers are in a class declarations - it's a way to express and enforce design.

提交回复
热议问题