The Artima Developer Community
Sponsored Link

Java Answers Forum
The Java Programming Language - To clarify a confusing explanation

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Senthoorkumaran Punniamoorthy

Posts: 335
Nickname: senthoor
Registered: Mar, 2002

The Java Programming Language - To clarify a confusing explanation Posted: Jun 20, 2003 8:45 PM
Reply to this message Reply
Advertisement
I wanted to clarify some confusion I had I came accross when I was going through the book "The Java Programming Language"

In Chapter 6, under page 158, section 6.6.3, second paragraph, it is mentioned that “The strictness of floating point arithmetic is determined by the presence of the modifier strictfp, which can be applied to a class, interface or method.”

However in a pervious chapter, in Chapter 4, under page 109, section 4.2.2 second paragraph it is mentioned that interface cant have modifier that define implementation characteristics such as native, synchronized, or strictfp because interface doesn’t dictate implementation.

These two extracts are confusing when one says you cannot have strictfp in interface and the other says it is possible to have in interface.

Topic: Help, I need somebody  Help Previous Topic   Next Topic Topic: Refirect and Forward

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use