elibraryportal Logo

Strictfp Keyword in Java

→ If you perform operation an floating - point variable. its result(fractional part) may very form one platform to another so strictfp keyword fix the result of floating points operation.

→ strictfp keyword can be applied on methods, classes and interfaces.

Syntax


Example