PRO192_-_FA_2024_-_PE_2884.webp
T

PRO192_-_FA_2024_-_PE_2884.webp

use it without creating IString.java file.
}
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: Count the number of word is the longest palindrome string in the str string. (word = a string without space(s))
f2: Find first word is the shortest palindrome string in the str string. (word = a string without space(s).
(A palindrome is a string that reads the same backwards as forwards)
Zoom
+ 100%
Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRO192_-_FA_2024_-_PE_2884.webp
File size
131.5 KB
Dimensions
1920px x 803px

Share this media

Back
Bên trên Bottom