Warmup:
In a class called MoreMethodPractice
Create a method called sameStartFinish that will take in 2 Strings
and return true if they start and finish will the same character
or false if they are not. IE if they 2 strings are "peanut
butter" and "pear" it will return true.
Create another method called tester that will use the scanner class
to read in two Strings and make a call to the method sameStartFinish
and spit out if the Strings start and finish the same.
|