If you are talking about having the compiler generate the fewest lines of code, write a small program with the different techniques, compile it and use the javap command to write out the generated...