My question is two-part.
- Why does the following work fine in Eclipse? Isn't "Double" a class?
Double h = 2.5; double j = 2;
- Why does "Double" above give me an error when I don't assign a decimal value to it, but "double" is fine whether or not I assign a decimal value to it?