Question: ace-CSE115 2018/ProblemSet zhengtao 0003,java 1- Eclipse e Refactor Navigate Search Project Run Window Help ProblemSet zhengtao 0002. 1 public class ProblemSet_zhengtao 0003( ? 18 q1:
ace-CSE115 2018/ProblemSet zhengtao 0003,java 1- Eclipse e Refactor Navigate Search Project Run Window Help ProblemSet zhengtao 0002. 1 public class ProblemSet_zhengtao 0003( ? 18 q1: Write a public static method named q1 that takes a String as a parameter and returns a String. The method will return the input String with the adjective "whatever" appended to the beginning of it separated by a space. For example, if the input String is "spine" your * method should return "whatever spine" 10 public static void q1(String print) System.out.printIn(print); 12 13 15 16 18 20e public static void q2) ( * q2: Write a public static method named q2 that prints the number 14.17 to the screen 21 System.out.printin (14.47); 23 " q3: Write a public static method named q3 that takes a double as a parameter and returns a * double. The method will represent a line with slope 10.58 and y-intercept -5.51 by
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
