Picked up a book that instructs beginners to use
javac -source 1.5 <filename>.java to compile source code.
I've observed that (with 1.5 the only installed SDK)
javac <filename>.java
appears to work equally well.
Is the switch needed to get the new features in the production version, or
is the instruction to use -source 1.5 something left over from the beta?
I'd think that the default would be to allow all version features?
TIA for any clarification.