PRO192_-_PE_-_SP_2025_-_Block_5_3850.webp
S

PRO192_-_PE_-_SP_2025_-_Block_5_3850.webp

☑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
Chưa có bình luận nào.

Thông tin

Category
PRO192
Thêm bởi
strong_will
Ngày thêm
Lượt xem
6,497
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom