June 2, 2014 Matthew Maennche Java, Learn To Code 20655, Java Language: Java Challenge: Write the definition of a method twice, which receives an integer parameter and returns an integer that is twice the value of the parameter. Solution: public int twice (int x){ return 2*x; }