The best I can make out is that an operation using a Float creates a float value, not another Float, unless you assign the result to a Float. I'm guessing this generalization works for all primitive Wrappers?
I tried using instanceof as a test, and got two objections from the compiler:
I'm studying for the Java Associate Certification, and want to be sure I understand this. The question didn't come from a practice test, but some coding I'm doing. However, it seems like the tricky sort of stuff that shows up in the practice tests. Usually casting is between objects where one "is a" subclass of another. But having primitives involved is confusing me. How does the "is a" relationship pertain there?