Question: * q2: Write a public static method named q2 that takes a String as a parameter and returns a * String. The method will return
* q2: Write a public static method named q2 that takes a String as a parameter and returns a * String. The method will return the input String with the adjective "northern" appended to the beginning of it separated by a space. For example, if the input String is "basis" your " method should return "northern basis" public static String q2(String str) f return "northern"+ str
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
