Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

K&B which is correct

 
Guru dhaasan
Ranch Hand
Posts: 126
Java Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In page 15 of K&B book it is given that "it is ok to use final with strictfp"

But in page 21 it is given that "interface methods are abstract they cant be marked final,strictfp or native"

So what are the combinations are permissable?

Any help appreciated.
Regards
Guru
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic