☑Kizspy. me public interface IString {
}
public int f1(String str);
public String f2(String str);
Write a class named MyString, which implements the interface IString. The class MyString implements
methods f1 and f2 in IString as below:
•
f1: Calculate the sum of all numbers in the string str that do not end with the digit 3 (numbers are
separated by non-numeric characters).
f2: Convert to uppercase the last word in the string str that contains the fewest number of
lowercase letters (word = a string without space(s)).
The program output might look something like:
Zoom
+ 100%
Close