My code got a little bit longer. Here it is now:
public static boolean a (String inputOne, String inputTwo){
if (inputOne.contains(inputTwo)){
if inputOne.length() > inputTwo.length(){...
Type: Posts; User: ghostheadx
My code got a little bit longer. Here it is now:
public static boolean a (String inputOne, String inputTwo){
if (inputOne.contains(inputTwo)){
if inputOne.length() > inputTwo.length(){...
Here are the instructions:
Write a static method endsWith that inputs two Strings and returns a boolean. If the first input ends with the substring that is the second input, then the method...