Originally posted by Mohit Goyal:
well interfaces are implicitly abstract so how can we use strictfp in the interface declaration . won't that give a compiler error
No it doesn't.strictfp in interface implies that all nested types declared in the interface are implicitly strictfp.