How to Add Parameters to a Method in Java