Java Strictfp KeywordJava strictfp keyword ensures that you will get the same result on every platform if you perform operations in the floating-point variable. The precision may differ from platform to platform that is why java programming language have provided the strictfp keyword, so that you get same result on every platform. So, now you have better control over the floating-point arithmetic. Legal code for strictfp keywordThe strictfp keyword can be applied on methods, classes and interfaces. Illegal code for strictfp keywordThe strictfp keyword cannot be applied on abstract methods, variables or constructors. Next TopicCreating API Document |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India