Saturday, May 30, 2015

strictfp keyword


  • This can be applied to interfaces, classes and methods.
  • Strictfp ensures that you get exactly the same results from your floating point calculations on every platform.
  • But most programmers never need to use strictfp modifier, because it affects only a very small class of problems in programming.
  • A strictfp method ensures that all code in the method is executed strictly.

No comments:

Post a Comment