In Java Programming, we all are aware that precision in result specially in floating-point numbers vary from platform to platform. In order to avoid such consistency in result over different platform, Java language provides the keword named 'strictfp'. This keyword can be used in order to get precise answer in any platform.
Lets discuss where it can used or not. 'strictfp' can be used be on methods, classes, and interfaces. But don't use on constructors, variables, or abstract keyword.
0 Comment(s)