posted 20 years ago
just a quickie... this is from KnB book, page 374 (for those of you using this book)
double d = Math.toRadians(60);
the toRadians method receives a double argument and returns a double. In this case we have a value of 60 as a parameter (which I assume is an integer, correct me if I'm wrong). Is the compiler automatically promoting this value to double?
thanks
I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury