Java Strictfp Keyword code example
Example 1: strictfp java
strictfp is a modifier in the Java programming language that restricts
floating-point calculations to ensure portability.
The strictfp command was introduced into Java with the Java virtual machine
version 1.2 and is available for use on all currently updated Java VMs.
strictfp class Test {
}
strictfp interface Test {
}
class A {
strictfp void Test() {
}
}
Example 2: strictfp java example
strictfp class Test {
}
strictfp interface Test {
}
class A {
strictfp void Test() {
}
}